diff options
author | shmibs <shmibs@gmail.com> | 2014-07-16 21:12:18 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2014-07-16 21:12:18 -0700 |
commit | 362fdd40156422779f51d5b109ec41164d67b1cf (patch) | |
tree | 0e117559d95779f531b59affdf8d2ccaaff4675c /.vimrc | |
parent | effba62a0758a13cfdc288d1c8543c74634fdac2 (diff) | |
download | dotfiles-362fdd40156422779f51d5b109ec41164d67b1cf.tar.gz |
added bytes to human readable function
now i need to make it compatible with bash
so it can be used to replace annoying conky
stuff in my panel!
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -27,6 +27,8 @@ nnoremap <C-g> :buffers<CR>:b<Space> nnoremap <C-n> :tabn<CR> nnoremap <C-p> :tabp<CR> nnoremap <C-t> <C-w>s<C-w>T +nnoremap <C-w><C-n> :tabm +1<CR> +nnoremap <C-w><C-p> :tabm -1<CR> "insert lines below nnoremap ++ == @@ -74,6 +76,7 @@ autocmd FileType cpp call Settings_cpp() autocmd FileType tex call Settings_tex() autocmd FileType haskell call Settings_haskell() autocmd FileType make call Settings_script() +autocmd FileType matlab call Settings_matlab() autocmd FileType perl call Settings_script() autocmd FileType python call Settings_script() autocmd FileType sh call Settings_script() @@ -111,6 +114,12 @@ function! Settings_haskell() nnoremap -- O--<Space> endfunction +function! Settings_matlab() + "settings + "mappings + nnoremap -- O%<Space> +endfunction + function! Settings_script() "settings setlocal shiftwidth=4 |