I have a few vim shortcuts to insert Greek and math characters. (for nicer looking comments and Haskell code.) Unfortunately, the \"forall\" character seems to insert ∀þX instead of just ∀. Does th
Vim provides very useful motion commands to jump to next start/end of a method: ]m, ]M, [m and ]m. These works for Java or similar structured language.
I would appreciate if some one can figure how to clean screen when I do i.e.: :!git status It always show me the previous output, so if I repeat this task many times can confuse me because I see the
I want to achieve the following: I want to split a vim session into two (or more) vertical windows (with the :vsplit command). Then, I want to have each window contents开发者_JAVA技巧 vertically offse
If I am editing a function call like: many_params(param1, \"a long...string\", p|aram3); // Cursor located at |
I have a small vim script that queries Google to insert links in markdown-formatted text. Currently it only works using the word under cursor, which it retrieves using expand(\"<cword>\") and mo
I like to write code using the ternary ?: operator like this: std::string result = input.empty() ? createNewItem()
How can I map jj to Esc in inputrc so it gets picked up by ap开发者_C百科ps using GNU Readline (python, mongoshell, ...)
Say, I have the following mapping: map <F4> :execute "vimgrep /" .expand("<cword>") . "/j **" <Bar> cw<CR>
I develop on Linux at home and on Windows at work. I\'d like to use the same vimrc file in both environments. The problem I have with this is that on Windows, I want to have the editor use the Consola