From 87dccda6efe470a90c8dd2a49d352580422e6c78 Mon Sep 17 00:00:00 2001 From: Steins7 Date: Fri, 15 Nov 2019 13:50:30 +0100 Subject: [PATCH] Added C auto-indent command + shortcut to auto-indent + shortcut to clear highlight + tex parameters --- ftplugin/cpp.vim | 1 + ftplugin/tex.vim | 1 + vimrc | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 ftplugin/tex.vim diff --git a/ftplugin/cpp.vim b/ftplugin/cpp.vim index 3b97ecb..fe9f13e 100644 --- a/ftplugin/cpp.vim +++ b/ftplugin/cpp.vim @@ -1 +1,2 @@ set colorcolumn=80 +set cino=N-s diff --git a/ftplugin/tex.vim b/ftplugin/tex.vim new file mode 100644 index 0000000..3b97ecb --- /dev/null +++ b/ftplugin/tex.vim @@ -0,0 +1 @@ +set colorcolumn=80 diff --git a/vimrc b/vimrc index 3f26bd7..157d1b8 100644 --- a/vimrc +++ b/vimrc @@ -41,6 +41,8 @@ nmap :wincmd k nmap :wincmd j nmap :wincmd h nmap :wincmd l +nmap :noh +nmap gg=G "escape sequence :set timeout timeoutlen=100