aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2015-09-14 02:52:01 +0200
committerMax Christian Pohle2015-09-14 02:52:01 +0200
commit44f1e79ccd79c3983b59cb9c36a2af1e55738da1 (patch)
tree95455cc729943fb2b172a8b6f7950b8b49d9f083
parent6f784b3a737827df10305e65d54cd1c92ce9c910 (diff)
downloadvim-karlmarks-44f1e79ccd79c3983b59cb9c36a2af1e55738da1.tar.bz2
vim-karlmarks-44f1e79ccd79c3983b59cb9c36a2af1e55738da1.zip
marker doc added and some minor vimrc tweaks
-rw-r--r--doc/shortcuts.txt3
-rw-r--r--vimrc3
2 files changed, 6 insertions, 0 deletions
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
20@a - replay macro a 20@a - replay macro a
21:'<,'>normal @a - apply a to every line in the current selection 21:'<,'>normal @a - apply a to every line in the current selection
22 22
23[marker]
24ma - set marker a-z (a in this case)
25'a - go to marker a
23 26
24[windows] 27[windows]
25<C-W>v - splits buffer vertically (screen uses |) 28<C-W>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")
108 autocmd FileType text setlocal textwidth=78 | " text files: set 'textwidth' to 78 108 autocmd FileType text setlocal textwidth=78 | " text files: set 'textwidth' to 78
109 autocmd FileType gitcommit set tw=72 | " longer commit messages without auto line wrapping 109 autocmd FileType gitcommit set tw=72 | " longer commit messages without auto line wrapping
110 autocmd FileType LaTeX let g:tex_flavor = "latex"| set conceallevel=1| set concealcursor= 110 autocmd FileType LaTeX let g:tex_flavor = "latex"| set conceallevel=1| set concealcursor=
111 autocmd BufNewFile,BufReadPost *.config set filetype=xml | " visual studio config file
112 autocmd BufNewFile,BufReadPost *.csproj set filetype=xml | " visual studio project file
113 autocmd BufNewFile,BufReadPost *.sln set filetype=xml | " visual studio solution file
111endif 114endif
112 115
113"================================================================================ 116"================================================================================
..