More Fzf magic and Ag
This commit is contained in:
parent
b3f8f6cf14
commit
693d31aa2c
3 changed files with 10 additions and 0 deletions
3
ag/install.sh
Normal file
3
ag/install.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
echo " - Installing Ag (The Silver Searcher) - "
|
||||||
|
sudo apt-get install silversearcher-ag
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo bash hasklig/install.sh
|
sudo bash hasklig/install.sh
|
||||||
sudo bash hyper/install.sh
|
sudo bash hyper/install.sh
|
||||||
|
sudo bash ag/install.sh
|
||||||
sudo bash nvim/install.sh
|
sudo bash nvim/install.sh
|
||||||
sudo bash zsh/install.sh
|
sudo bash zsh/install.sh
|
||||||
|
|
|
@ -43,6 +43,8 @@ Plug 'tpope/vim-surround'
|
||||||
"" Project/File Navigation Plugins
|
"" Project/File Navigation Plugins
|
||||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
|
"" Git
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
"" Initialize plugin system
|
"" Initialize plugin system
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
@ -53,3 +55,7 @@ colorscheme dracula
|
||||||
"" FZF
|
"" FZF
|
||||||
nnoremap <Leader>t :Files<cr>
|
nnoremap <Leader>t :Files<cr>
|
||||||
nnoremap <Leader>T :Buffers<cr>
|
nnoremap <Leader>T :Buffers<cr>
|
||||||
|
nnoremap <Leader>g :Ag
|
||||||
|
nnoremap <Leader>c :Commits<cr>
|
||||||
|
nnoremap <Leader>C :BCommits<cr>
|
||||||
|
nnoremap <Leader>m :GFiles?<cr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue