aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2018-10-05 04:34:06 -0700
committerkatherine <shmibs@shmibbles.me>2018-10-05 04:34:06 -0700
commit08024e9a5df285e74577d7228d2d33a504bcb023 (patch)
tree30940527e2967ee76d1293e6a7825c3b8740ec8b
parenta0152dc3a4ecce0ddc70fa7263d951e50b3cc8d3 (diff)
downloaddotfiles-08024e9a5df285e74577d7228d2d33a504bcb023.tar.gz
better comments for asm and coffeescript
-rw-r--r--.vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 28fc390..7c0fe43 100644
--- a/.vimrc
+++ b/.vimrc
@@ -25,6 +25,7 @@ Plugin 'wlangstroth/vim-racket'
Plugin 'rust-lang/rust.vim'
Plugin 'cakebaker/scss-syntax.vim'
Plugin 'cespare/vim-toml'
+Plugin 'rhysd/vim-crystal'
"FUNCTIONALITY
Plugin 'junegunn/vim-easy-align'
@@ -257,6 +258,7 @@ autocmd FileType c call Settings_c()
autocmd FileType coffee call Settings_coffee()
autocmd FileType conf call Settings_conf()
autocmd FileType cpp call Settings_c()
+autocmd FileType crystal call Settings_elixir()
autocmd FileType cs call Settings_c()
autocmd FileType css call Settings_css()
autocmd FileType d call Settings_c()
@@ -320,6 +322,7 @@ function! Settings_asm()
setlocal foldmethod=syntax
"mappings
nnoremap <buffer> -- A<Tab>;<Space>
+ nnoremap <buffer> -_ O;<Space>
endfunction
function! Settings_c()
@@ -342,6 +345,7 @@ function! Settings_coffee()
setlocal softtabstop=2
"mappings
nnoremap <buffer> -- O#<Space>
+ nnoremap <buffer> -_ O###<CR><C-u>###<Esc>O<C-u>
endfunction
function! Settings_conf()
@@ -373,6 +377,7 @@ function! Settings_ia64()
setlocal foldmethod=syntax
"mappings
nnoremap <buffer> -- A<Space>*/<Esc>hhi<Tab>/*<Space>
+ nnoremap <buffer> -_ O<Space>*/<Esc>hhi/*<Space>
endfunction
function! Settings_haskell()