diff options
-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 | "================================================================================ |