Skip to content

Commit

Permalink
change keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyangze committed Mar 3, 2024
1 parent 7cc6141 commit e3082f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layers/user/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ endfunction

let g:context_enabled = 0

let g:rooter_patterns = ['artisan', 'think', 'composer.lock', 'go.mod', 'pom.xml']
let g:rooter_patterns = ['artisan', 'think', 'composer.lock', 'go.mod', 'pom.xml', 'package.json']
let g:coc_disable_startup_warning = 1
4 changes: 3 additions & 1 deletion layers/user/quickmap.vim
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ nmap ,2 :call JumpToWindow(2)<CR>
nmap ,3 :call JumpToWindow(3)<CR>
nmap ,4 :call JumpToWindow(4)<CR>
nmap ,5 :call JumpToWindow(5)<CR>
nmap ,6 :call JumpToWindow(6)<CR>
nmap ,D :Dox<CR>
"nmap ,F :RgAllFiles<CR>
nmap ,G :RgAll<CR>
Expand All @@ -35,7 +36,7 @@ nmap ,h :Startify<CR>
nmap ,l :call AutoFormatFile()<CR>
nmap ,m :FZFBookmarks<CR>
nmap ,n :tabnew<CR>
nmap ,o :call ToggleWindowShow('tagbar', 'call ShowTagbarToggle()', 'call ShowTagbarToggle()')<CR>
"nmap ,o :call ToggleWindowShow('tagbar', 'call ShowTagbarToggle()', 'call ShowTagbarToggle()')<CR>
nmap ,p :FzfProject<cr>
nmap ,q :q!<CR>
nmap ,r :Rooter<CR>
Expand All @@ -49,6 +50,7 @@ vmap ,v :<C-U>execute("CtrlSF \"" . escape(GetCtrlsfSearchText(""), '"') . "\"")
nmap ,v :<C-U>execute("CtrlSF \"" . escape(GetCtrlsfSearchText(""), '"') . "\"")<CR>
nmap ,/ :<C-u>BitoAi
vmap ,/ :BitoAi
nmap // :FzfBLines<CR>
nmap =1 :q 1<CR>
nmap =2 :q 2<CR>
Expand Down

0 comments on commit e3082f1

Please sign in to comment.