Update 2024-09-27 11:27 Linux/x86_64-ld5587
This commit is contained in:
12
.vim/vimrc
12
.vim/vimrc
@@ -54,6 +54,9 @@ set textwidth=0 " automatically break lines here
|
||||
set list " display control characers
|
||||
set listchars=tab:>- " which characters to display
|
||||
|
||||
set wildmode=full
|
||||
|
||||
|
||||
let g:currentmode={
|
||||
\ 'n' : 'NORMAL',
|
||||
\ 'v' : 'VISUAL',
|
||||
@@ -140,10 +143,8 @@ highlight VertSplit ctermfg=1 ctermbg=0
|
||||
|
||||
" Buffer NAVIGATION
|
||||
map :bnext<CR>
|
||||
imap :bnext<CR>
|
||||
nmap :bnext<CR>
|
||||
map :bprevious<CR>
|
||||
imap :bprevious<CR>
|
||||
nmap :bprevious<CR>
|
||||
|
||||
" TMUX FIXES
|
||||
@@ -176,17 +177,22 @@ inoremap <expr> <Down> pumvisible() ? '<C-n>' : '<Down>'
|
||||
inoremap <expr> <Up> pumvisible() ? '<C-p>' : '<Up>'
|
||||
|
||||
" NETRW
|
||||
let g:netrw_banner = 1 " disable annoying banner
|
||||
let g:netrw_banner = 0 " disable annoying banner
|
||||
let g:netrw_browse_split = 4 " open in prior window
|
||||
let g:netrw_altv = 1 " open splits to the right
|
||||
let g:netrw_liststyle = 0 " tree view
|
||||
let g:netrw_ctags = "ectags" " ctags executable to use
|
||||
let g:netrw_keepdir = 0
|
||||
let g:netrw_winsize = 25
|
||||
hi! link netrwMarkFile Search
|
||||
|
||||
" TAGS FILE
|
||||
set tags=.git/tags; " Search tagfile backward recursive
|
||||
nnoremap gt <c-]> " Jump to tag (go tag)
|
||||
nnoremap gb <c-o> " Jump to last position (go back)
|
||||
nnoremap gh :FSHere<CR> " Jump to header file (go header)
|
||||
nnoremap bb :ls<cr>:b
|
||||
nnoremap :Lex<cr>
|
||||
|
||||
" CSCOPE
|
||||
if has("cscope")
|
||||
|
||||
Reference in New Issue
Block a user