diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -89,8 +89,10 @@ nmap ; za nmap <F10> :setlocal invfoldenable<CR> "buffer moving -nmap <ESC>l :bn<CR> -nmap <ESC>h :bN<CR> +nmap <ESC>h :tabN<CR> +nmap <ESC>j :bn<CR> +nmap <ESC>k :bN<CR> +nmap <ESC>l :tabn<CR> " When editing a file, always jump to the last known cursor position. " Don't do it when the position is invalid or when inside an event handler @@ -139,7 +141,7 @@ endif " F*cking whitespaces autocmd BufRead * highlight ExtraWhitespace ctermbg=red ctermfg=black guibg=red -autocmd BufRead * match ExtraWhitespace /\s\+$\| \+\ze\t\| \+\|\t\zs \+/ +autocmd BufRead * match ExtraWhitespace /\s\+$\| \+\ze\t\| \+\| \+\|\t\zs \+/ set list listchars=tab:│ ,precedes:‥,extends:‥ nmap <F3> :set invlist<CR> |