diff options
author | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2017-10-06 23:39:11 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2017-10-06 23:39:11 +0200 |
commit | 8a68072713438b701b764657c7ffd473ac292649 (patch) | |
tree | 00309303932ee94a521ed5e2780d16b6c3a96ebe | |
parent | c7edf66771801d69445f1206d43dcaee825d54b7 (diff) |
NVIM:
- Remap F1 to exit terminal
- Rust ftplugin
- gitcommit format
-rw-r--r-- | nvim/nvim/ftplugin/gitcommit.vim | 3 | ||||
-rw-r--r-- | nvim/nvim/init.vim | 5 |
2 files changed, 7 insertions, 1 deletions
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 <Esc> <C-\><C-n> +:tnoremap <F1> <C-\><C-n> """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |