2,413 reputation
314
bio website ingo-karkat.de
location Germany
age 38
visits member for 2 years, 3 months
seen yesterday

Greetings! I'm a professional software developer and geek born in the home computer age, living in Germany, who has a lovely daughter with my Japanese wife.


Aug
18
comment How do I change the colour of text matching a regex in vim?
@Gnouc: mark.vim supports Vim 7.2, 7.3, and also 7.4. The version given on vim.org is the lowest supported one!
Aug
8
comment Can you further integrate and present sequential moreutils vipe command output in vim using successive splits etc?
You're right, it's just a concept, not a complete solution. With more than two invocations in the pipeline, that is probably much more complex. I wonder whether it isn't sufficient to just manually :write! save-pipe, followed by :pedit save-pipe whenever you need it?!
Aug
8
comment Can you further integrate and present sequential moreutils vipe command output in vim using successive splits etc?
The temp file is created by vipe (using something like mktemp()), and that filename is passed to Vim, I suppose.
Aug
1
comment Where should xt.vim be put on osX?
Commands that start with : are given in Vim; if you're new to Vim, try vimtutor (in the shell), or any of the many Internet resources, e.g. vimcasts.org
Aug
1
comment Where should xt.vim be put on osX?
You don't need to copy them; Vim looks in both locations (see :h 'runtimepath'). I would recommend looking for a newer Vim package (if available); Vim 7.2 is from 2008!
Aug
1
comment Where should xt.vim be put on osX?
The leading . makes the file hidden; this is customary (on Unix and OS X) for configuration, so that it doesn't distract you. ls -a shows those files.
Aug
1
comment Where should xt.vim be put on osX?
Yes, please put your custom Vim files at ~/.vim (creating dirs if necessary); the /usr/share/vim location is a system location; never modify that; you'll lose changes during upgrades or reinstalls!
Aug
1
comment Vim FoldColumn color different on Debian / Ubuntu
Are other colors affected as well? And are you using the same terminal on both systems?
Jun
29
comment less command and syntax highlighting
@user1147688: If you carefully read Felix's answer, the GNU source-highlight is an external program, and the integration with less is very loose. It's not less that does the highlighting; but Vim indeed has this capability built-in.
Apr
30
comment Remap Up and Down arrows to gj-gk in vim input mode without using <c-o>?
The <SID> just makes the mappings local; you could have used <Plug>, too. And see :h :map-expr for details.
Apr
30
comment Remap Up and Down arrows to gj-gk in vim input mode without using <c-o>?
Actually, the cursor also moves the first time, just the screen isn't updated until another cursor move or char insertion. I've added a workaround to my answer.
Mar
28
comment Replace string with another string in vi editor
That's very basic vi / Vim functionality, covered by most tutorials on the web. Also, learn how to look up commands and navigate the built-in :help; it is comprehensive and offers many tips. You won't learn Vim as fast as other editors, but if you commit to continuous learning, it'll prove a very powerful and efficient editor.
Mar
7
comment vim how to keep cursor position while copying text
Duplicate of stackoverflow.com/questions/22226025/…; please don't post the same question to multiple sites in parallel!
Feb
11
comment What does the search flag 'z' do in VIM?
The z#.2 doesn't work because it addresses 1/2 above / below, and that seems to be rounded down to 1.
Dec
14
comment VIM: folding bullet points
That sounds like an issue that you should submit to the plugin's author, not here.
Dec
4
comment Vim paste string with non-ASCII characters
Duplicate of superuser.com/questions/683727/…; please don't post in parallel to multiple Stack Exchange sites!
Nov
28
comment How can I go forward in a file? What is the oposite of ctrl+O
:help CTRL-O; you just need to know the command's mode and the spelling of keys!
Nov
8
comment How can I enable mouse in Vim?
Can you reposition the cursor? Select / copy comes from the terminal, that has nothing to do with Vim.
Nov
8
comment How can I enable mouse in Vim?
At least mention the terminal you're using, and whether other mouse-based applications work in there.
Nov
8
comment Adjust pane size in vim
With vertical splits (-O), that would be :vertical resize 20, as I've written. Mouse with :set mouse=a, but it depends on the terminal.