From 8a68072713438b701b764657c7ffd473ac292649 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Fri, 6 Oct 2017 23:39:11 +0200 Subject: NVIM: - Remap F1 to exit terminal - Rust ftplugin - gitcommit format --- nvim/nvim/ftplugin/gitcommit.vim | 3 +++ nvim/nvim/init.vim | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nvim/nvim/ftplugin/gitcommit.vim b/nvim/nvim/ftplugin/gitcommit.vim index 9c595c0..3154ece 100644 --- a/nvim/nvim/ftplugin/gitcommit.vim +++ b/nvim/nvim/ftplugin/gitcommit.vim @@ -2,3 +2,6 @@ setlocal spell setlocal spelllang=en setlocal formatoptions+=t + +set textwidth=72 +set colorcolumn=73 diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim index 507aa4c..597c8cf 100644 --- a/nvim/nvim/init.vim +++ b/nvim/nvim/init.vim @@ -17,6 +17,9 @@ Plugin 'kchmck/vim-coffee-script' " Paredit for clojure and lisp Plugin 'vim-scripts/paredit.vim' +" Syntax highlighting for Rust +Plugin 'wting/rust.vim' + " Add plugins here call vundle#end() " required @@ -117,7 +120,7 @@ highlight ColorColumn ctermbg=DarkGrey guibg=#262626 " TERMINAL: """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Make terminal remap to go out of insert mode -:tnoremap +:tnoremap """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -- cgit v1.2.3