Skip to content

Commit

Permalink
adding fzf plugin, fixing search/replace shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
DMcP89 committed May 17, 2024
1 parent 987f980 commit 71387dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Plugin 'ap/vim-buftabline'
Plugin 'pylint.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'fatih/vim-go'
Plugin 'junegunn/fzf'

Bundle 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}

Expand All @@ -41,6 +42,8 @@ map <C-n> :NERDTreeToggle<CR>
" Open files in new tab
let NERDTreeMapOpenInTab='\r'

" FZF
nnoremap <Leader>f :FZF<CR>
" Colors
colorscheme badwolf
Expand Down Expand Up @@ -81,7 +84,7 @@ nnoremap <C-x> :bd<CR>
set laststatus=2

" Search and replace
nnoremap <Leader>s :%s/\<<C-r><C-w>\>//g<Left><Left>
nnoremap <Leader>s :%s/<C-r><C-w>//g<Left><Left>
" Save from insert mode
inoremap <F3> <c-o>:w<cr>
Expand Down

0 comments on commit 71387dc

Please sign in to comment.