2,953 reputation
315
bio website ingo-karkat.de
location Germany
age 38
visits member for 2 years, 7 months
seen 6 hours ago

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.


6h
comment vi commandline, goto line and column
It matters for non-ASCII characters, which are represented by more than one byte. Also, a Tab and control characters usually occupy more than one display column.
7h
comment vi commandline, goto line and column
cursor() uses byte index for the column, but it's usually a character count.
Dec
15
comment Vim mappings stop working
Have you changed terminals or previously used GVIM? Not all key combinations are handled in terminal Vim; <S-CR> and <C-CR> mostly don't work there.
Dec
9
comment vim :grep using the bash 'globstar' option
Thanks; glad I could help. Don't forget to accept the answer by clicking on the outlined checkmark next to it!
Oct
22
comment Adding color scheme to Vim
Your answer doesn't add anything that isn't already in mine.
Sep
25
comment How do you track down why a Vim plugin does not work?
For that, it probably defines an :autocmd VimEnter *. Is this defined? Does it appear in the log file?
Sep
25
comment How do you track down why a Vim plugin does not work?
You've submitted (and then withdrew) the same imprecise question already on SO. Just repeating it here won't make it better...
Sep
22
comment View .deb package files in vim
Can't you just install the dpkg tool and use said plugin?
Sep
7
comment Random colored column?
Probably a plugin defining some signs.
Sep
2
comment Find and change certain LaTeX coding in vim, using regular expressions?
@sam Then the plugin (and its dependencies) hasn't been properly installed.
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.