瀏覽代碼

~/.vimrc: Add some neat bindings/helpers

Lucas Stadler 9 年之前
父節點
當前提交
cf12977d8d
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      .vimrc

+ 9 - 0
.vimrc

@ -172,6 +172,15 @@ map <c-b> :make<CR> " build
172 172
"nmap <c-a> :w<CR>
173 173
map <Leader>t :TagbarToggle<CR>
174 174
175
"" mappings and options inspired by https://www.vi-improved.org/recommendations/
176
nnoremap <leader>b :b <c-d>
177
nnoremap <leader>q :b#<cr>
178
179
inoremap <leader>f <c-x><c-f>
180
inoremap <leader>n <c-x><c-n>
181
182
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v]
183
175 184
""" Filetype specific stuff comes now...
176 185
177 186
" Have Vala highlighted, too