1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

vim: added C-g mappings

This commit is contained in:
Daiderd Jordan 2016-10-20 23:31:53 +02:00
parent ce690db770
commit c02f1dc81f
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -79,8 +79,7 @@ let
nixdarwin-rebuild () {
case $1 in
'switch') nix-env -f '<nixpkgs>' -iA nixdarwin.toplevel ;;
''') return 1 ;;
'switch') nix-env -f '<nixpkgs>' -iA nixdarwin.toplevel ;; ''') return 1 ;;
esac
}
'';
@ -115,13 +114,17 @@ in {
set clipboard=unnamed
let mapleader = " "
nnoremap <Leader>p :FZF<cr>
cmap <C-g> <Esc>
imap <C-g> <Esc>
nmap <C-g> <Esc>
omap <C-g> <Esc>
vmap <C-g> <Esc>
set hlsearch
nnoremap // :nohlsearch<cr>
nnoremap K ht lr<cr>k$
let mapleader = " "
nnoremap <Leader>p :FZF<cr>
'';
vimrcConfig.vam.pluginDictionaries = [
{ names = [ "fzfWrapper" "youcompleteme" "surround" "vim-nix" "colors-solarized" ]; }