Last active
December 22, 2015 06:39
-
-
Save kindy/6432667 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" <buffer-number> <file-name> <modify> <file-type> <encoding> <line><col> <byte-of-file> <char-under-cursor> <pos-of-file> | |
" #17 ~/.vimrc [+][vim] [utf-8] 2336,1 @59791 0x6E Bot | |
set statusline=%<#%n\ %f\ %h%m%r%y%=%k[%{(&fenc==\"\")?&enc:&fenc}%{(&bomb?\",bom\":\"\")}]\ %-16.(%l,%c%V%)\ @%o\ 0x%B\ %P | |
" use :grep to search | |
set grepprg=ack\ --nocolor\ --nogroup | |
set grepformat=%f:%l:%m | |
" use <C-j> and <C-k> to navigate in search result | |
nm <c-j> :cn<CR> | |
nm <c-k> :cp<CR> | |
" max current window | |
nm <C-w><C-m> :res<CR>:vertical res<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment