summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/ftplugin/gitcommit.vim3
-rw-r--r--nvim/nvim/init.vim5
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>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""