aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"================================================================================
..