FIX: rename ptr & .vimrc add

FIX: rename ptr -> pointer
    FIX: .vimrc add gf goto new tabl
This commit is contained in:
rangersly 2025-04-27 10:02:53 +08:00
parent e878686e46
commit 3254fe2dfe
2 changed files with 1 additions and 2 deletions

View File

@ -41,6 +41,7 @@ nnoremap <space>tt :tabedit<space>
nnoremap <space>tm :vert term<cr>
"操作优化
nnoremap gf <c-w>f<c-w>T
nnoremap gm $
nnoremap <space>r :reg<cr>
inoremap jf <esc>
@ -69,9 +70,7 @@ inoremap jk <c-x><c-k>
" 启用字典补全Ctrl-X Ctrl-K
set complete+=k
" 加载字典补全功能
" 根据文件类型设置不同的字典文件
autocmd FileType c setlocal dictionary+=~/.vim/dict/cpp.dict
autocmd FileType cpp setlocal dictionary+=~/.vim/dict/cpp.dict