Josh Wolfe 2 years ago
parent
commit
11c265102c
2 changed files with 10 additions and 4 deletions
  1. 4
    4
      vim/.vimrc
  2. 6
    0
      zsh/.zshrc

+ 4
- 4
vim/.vimrc View File

@@ -192,10 +192,10 @@ let g:airline#extensions#tabline#enabled = 1

" FZF Settings
" Insert mode completion
inoremap <c-x><c-k> <Plug>(fzf-complete-word)
inoremap <c-x><c-f> <Plug>(fzf-complete-path)
inoremap <c-x><c-j> <Plug>(fzf-complete-file-ag)
inoremap <c-x><c-l> <Plug>(fzf-complete-line)
imap <C-x><C-k> <Plug>(fzf-complete-word)
imap <C-x><C-f> <Plug>(fzf-complete-path)
imap <C-x><C-j> <Plug>(fzf-complete-file-ag)
imap <C-x><C-l> <Plug>(fzf-complete-line)
" [Tags] Command to generate tags file
let g:fzf_tags_command = 'ctags -R'


+ 6
- 0
zsh/.zshrc View File

@@ -11,6 +11,9 @@ export GOPATH=$HOME/Projects/go
# Vi mode
bindkey -v

# Enable Ctrl-x e to edit command line in editor
autoload -U edit-command-line

# Enable colors
autoload -U colors && colors

@@ -125,6 +128,9 @@ bindkey -M viins '^e' end-of-line
bindkey -M viins '^k' kill-line
bindkey -M viins '^w' backward-kill-word
bindkey -M viins '^u' backward-kill-line
zle -N edit-command-line
bindkey -M viins '^xe' edit-command-line
bindkey -M viins '^x^e' edit-command-line

##
## A L I A S E S

Loading…
Cancel
Save