diff options
author | Max Christian Pohle | 2015-09-14 02:52:01 +0200 |
---|---|---|
committer | Max Christian Pohle | 2015-09-14 02:52:01 +0200 |
commit | 44f1e79ccd79c3983b59cb9c36a2af1e55738da1 (patch) | |
tree | 95455cc729943fb2b172a8b6f7950b8b49d9f083 | |
parent | 6f784b3a737827df10305e65d54cd1c92ce9c910 (diff) | |
download | vim-44f1e79ccd79c3983b59cb9c36a2af1e55738da1.tar.bz2 vim-44f1e79ccd79c3983b59cb9c36a2af1e55738da1.zip |
marker doc added and some minor vimrc tweaks
-rw-r--r-- | doc/shortcuts.txt | 3 | ||||
-rw-r--r-- | vimrc | 3 |
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] | ||
24 | ma - 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 |) |
@@ -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 | ||
111 | endif | 114 | endif |
112 | 115 | ||
113 | "================================================================================ | 116 | "================================================================================ |