Browse files

adding file type to statusline and mapping the arrows

  • Loading branch information...
1 parent d47303c commit 04c1dd034bf81f36917b20da1511ca4b94ec83f5 @BrunoGrasselli committed Sep 4, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 vimrc
5 vimrc
@@ -12,8 +12,9 @@ set number
set mouse=a
" statusline
-set statusline=%f "tail of the filename
+set statusline=%f "path to the file
set statusline+=%= "left/right separator
+set statusline+=%y "filetype
set statusline+=%c, "cursor column
set statusline+=%l/%L "cursor line/total lines
set laststatus=2
@@ -48,3 +49,5 @@ nmap <C-h> i$<Esc>f(r f)xF$x
nnoremap <silent> <F5> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR>
nmap <silent> <F6> :set lines=999 columns=999<Enter>
ab rdb require 'debugger';debugger
+nnoremap <up> <C-a>
+nnoremap <down> <C-x>

0 comments on commit 04c1dd0

Please sign in to comment.