1. LK4D4
  2. dotfiles

Commits

LK4D4  committed c52f0fc

add autoremove trailing spaces

  • Participants
  • Parent commits 0d4b13c
  • Branches default

Comments (0)

Files changed (1)

File vimrc.local

View file
 let g:miniBufExplMapWindowNavArrows = 1
 let g:miniBufExplMapCTabSwitchBufs = 1
 let g:miniBufExplModSelTarget = 1
-
+autocmd BufWritePre *.py :%s/\s\+$//e
 
 set colorcolumn=83
 set ttyfast
 set pastetoggle=<F2>
 set invpaste
 
-noremap <C-Tab> :bnext<CR>
-noremap <C-PageUp> :bprev<CR>
+nnoremap gt :bnext<CR>
+nnoremap gT :bprev<CR>
 nnoremap <leader>n :NERDTreeToggle<CR>
 nnoremap <leader>p :TlistToggle<CR>
 nnoremap <leader>b :MiniBufExplorer<CR>