From 240b3c22394c5dcd525c808f1d85eb9fd26ad568 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 19 May 2015 15:49:45 +0100 Subject: added neomake + new mappings for terminal navigation + minor changes --- nvimrc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'nvimrc') diff --git a/nvimrc b/nvimrc index 9320b3e..b96d838 100644 --- a/nvimrc +++ b/nvimrc @@ -1,9 +1,11 @@ "" Plugins call plug#begin('~/.nvim/plugged') +Plug 'AndrewRadev/splitjoin.vim' Plug 'LaTeX-Box-Team/latex-box' Plug 'SirVer/ultisnips' Plug 'airblade/vim-gitgutter' Plug 'altercation/vim-colors-solarized' +Plug 'benekastah/neomake' Plug 'bling/vim-airline' Plug 'christoomey/vim-tmux-navigator' Plug 'edkolev/tmuxline.vim' @@ -11,14 +13,13 @@ Plug 'godlygeek/tabular' Plug 'gregsexton/gitv' Plug 'honza/vim-snippets' Plug 'jamessan/vim-gnupg' -Plug 'terryma/vim-multiple-cursors' Plug 'jeetsukumaran/vim-buffergator' -Plug 'AndrewRadev/splitjoin.vim' Plug 'kien/ctrlp.vim' Plug 'majutsushi/tagbar' Plug 'scrooloose/nerdtree' Plug 'scrooloose/syntastic' Plug 'sjl/Gundo.vim' +Plug 'terryma/vim-multiple-cursors' Plug 'tommcdo/vim-exchange' Plug 'tpope/vim-abolish' Plug 'tpope/vim-commentary' @@ -180,6 +181,7 @@ nnoremap sc :source % " File edits nnoremap es :UltiSnipsEdit nnoremap em :e ~/.mutt/muttrc +nnoremap en :e ~/.nvimrc nnoremap ev :e ~/.vimrc nnoremap ez :e ~/.zshrc nnoremap et :e ~/.tmux.conf @@ -199,6 +201,11 @@ nnoremap gs :Gstatus nnoremap gr :Gread nnoremap gd :Gdiff +" Commands +nnoremap ym :Neomake! +nnoremap ys :mksession! tmp.vim +nnoremap yr :source tmp.vim + " Misc nnoremap nnoremap Q :bd! @@ -216,7 +223,10 @@ nnoremap , : vnoremap , : " Neovim specific -tmap +tmap +nnoremap :b termi +" nnoremap i +inoremap i "" Restore cursor position augroup cursorPosition @@ -226,4 +236,3 @@ augroup cursorPosition \ exe "normal! g`\"" | \ endif augroup END - -- cgit v1.2.3