summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-05-21 11:53:21 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-05-21 11:53:21 +0100
commitb96e39a1643d05b9dbf5326dbb28c559a10e6afe (patch)
treecbc89bd31e9aba613c6b518f118ecd4dbec676e8
parentc10a9883122d6d3efeb24784a7c76ae004dc2d83 (diff)
added creating of mutt auxiliary files in install script
-rwxr-xr-xinstall.sh4
-rw-r--r--nvimrc3
2 files changed, 5 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index a68cd40..2fb023f 100755
--- a/install.sh
+++ b/install.sh
@@ -67,8 +67,10 @@ fi
mkdir -p autoload
ln -s $dir/nvim/vim-plug/plug.vim $dir/nvim/autoload/plug.vim
-# Creating temporary file for mutt
+# Creating auxiliary files for mutt
cd $dir
mkdir -p mutt/temp
+mkdir -p mutt/cache
+mkdir -p mutt/cache/bodies
echo -e "\n*** Installation successful *** \n"
diff --git a/nvimrc b/nvimrc
index 1b347d5..b72d2eb 100644
--- a/nvimrc
+++ b/nvimrc
@@ -230,10 +230,11 @@ vnoremap , :
" Neovim specific
tmap <C-_> <C-\><C-n><C-^>
nnoremap <C-_> :b term<cr>i
-inoremap <C-_> <Esc><C-^>i
+inoremap <C-_> <Esc>:b term<cr>i
"" Restore cursor position
augroup autocommands
+ au!
autocmd BufWritePost *.cpp Neomake!
autocmd BufReadPost *
\ if line("'\"") > 1 && line("'\"") <= line("$") |