From 362fdd40156422779f51d5b109ec41164d67b1cf Mon Sep 17 00:00:00 2001 From: shmibs Date: Wed, 16 Jul 2014 21:12:18 -0700 Subject: 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! --- .vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index d5cd54f..77d64b8 100644 --- a/.vimrc +++ b/.vimrc @@ -27,6 +27,8 @@ nnoremap :buffers:b nnoremap :tabn nnoremap :tabp nnoremap sT +nnoremap :tabm +1 +nnoremap :tabm -1 "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-- endfunction +function! Settings_matlab() + "settings + "mappings + nnoremap -- O% +endfunction + function! Settings_script() "settings setlocal shiftwidth=4 -- cgit v1.2.3