Browse Source

Add shortcuts for rg and notes

coc
Schneider 5 years ago
parent
commit
01b2ad3381
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 1
      init.vim
  2. 1
      zsh/aliases.zsh

1
init.vim

@ -192,6 +192,7 @@ nnoremap <leader><C-p> :CtrlPTag<cr>
" fzf bindings " fzf bindings
nmap <C-p> :Files<CR> nmap <C-p> :Files<CR>
nmap <leader><C-p> :Tags<CR> nmap <leader><C-p> :Tags<CR>
nmap <leader>/ :Rg<CR>
" Toggle NERDTree " Toggle NERDTree
nmap <silent> <leader>k :NERDTreeToggle<cr> nmap <silent> <leader>k :NERDTreeToggle<cr>

1
zsh/aliases.zsh

@ -2,6 +2,7 @@
alias la='ls -la' alias la='ls -la'
alias sagu='sudo apt update && sudo apt dist-upgrade' alias sagu='sudo apt update && sudo apt dist-upgrade'
alias sagi='sudo apt install ' alias sagi='sudo apt install '
alias notes='vim "+:NV"'
alias v='f -e vim' # quick opening files with vim alias v='f -e vim' # quick opening files with vim
alias o='a -e xdg-open' # quick opening files with xdg-open alias o='a -e xdg-open' # quick opening files with xdg-open

Loading…
Cancel
Save