From 44f1e79ccd79c3983b59cb9c36a2af1e55738da1 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 14 Sep 2015 02:52:01 +0200 Subject: marker doc added and some minor vimrc tweaks --- doc/shortcuts.txt | 3 +++ vimrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt index 3b714bc..51a7521 100644 --- a/doc/shortcuts.txt +++ b/doc/shortcuts.txt @@ -20,6 +20,9 @@ q - stop macro recording @a - replay macro a :'<,'>normal @a - apply a to every line in the current selection +[marker] +ma - set marker a-z (a in this case) +'a - go to marker a [windows] v - splits buffer vertically (screen uses |) diff --git a/vimrc b/vimrc index b61537a..a355697 100644 --- a/vimrc +++ b/vimrc @@ -108,6 +108,9 @@ if has("autocmd") autocmd FileType text setlocal textwidth=78 | " text files: set 'textwidth' to 78 autocmd FileType gitcommit set tw=72 | " longer commit messages without auto line wrapping autocmd FileType LaTeX let g:tex_flavor = "latex"| set conceallevel=1| set concealcursor= + autocmd BufNewFile,BufReadPost *.config set filetype=xml | " visual studio config file + autocmd BufNewFile,BufReadPost *.csproj set filetype=xml | " visual studio project file + autocmd BufNewFile,BufReadPost *.sln set filetype=xml | " visual studio solution file endif "================================================================================ -- cgit v1.2.3