Skip to main content
René Nyffenegger's user avatar
René Nyffenegger's user avatar
René Nyffenegger's user avatar
René Nyffenegger
  • Member for 9 years, 9 months
  • Last seen more than a month ago
18 votes
1 answer
3k views

Is it possible to get the matched string after calling :search()?

17 votes
3 answers
2k views

Why does vim allow integer division by zero?

16 votes
4 answers
5k views

Is it possible to create mappings with parameters?

15 votes
3 answers
7k views

How do I reverse a string with Vim script

11 votes
1 answer
5k views

How do I alphabetically compare two strings

10 votes
3 answers
3k views

Within a function, Is there a way to determine if vim is in insert mode?

8 votes
1 answer
2k views

Is it possible to add inline comments in a multiline statement?

6 votes
1 answer
2k views

How do I open a file that starts with an exclamation mark using filename completion?

6 votes
1 answer
293 views

How do I exclude the → from file name characters?

5 votes
1 answer
553 views

Can a check with has_key(d, k) and an immediate assignment be short circuited in vim script?

5 votes
1 answer
4k views

Is there an elegant way to determine if a file exists in/under runtimepath?

5 votes
3 answers
1k views

Keeping personal vimrc and syntax files etc in source control?

5 votes
2 answers
4k views

Calling function to insert text with inoremap

5 votes
2 answers
810 views

Is there a version of "strpart" that is aware of characters, rather than bytes

5 votes
3 answers
677 views

Is there a trick to set 'ignorecase' locally

5 votes
3 answers
1k views

Is it possible to create a function with the same name for different filetypes (and different implementations)?

4 votes
1 answer
3k views

How can I map Alt-< or Alt->?

4 votes
4 answers
511 views

How can I be sure a digraph is not defined by Vim?

4 votes
1 answer
1k views

Why does gvim read /usr/share/vim/vimrc instead of ~/.vim/vimrc

3 votes
2 answers
256 views

Is there something similar to g8 but shows the values according to the file encoding?

3 votes
1 answer
620 views

negative lookahead (@!) together with very magic \v

3 votes
1 answer
6k views

Why do I suddenly receive "Error detected while processing function <SNR>30_Highlight_Matching_Pair"?

2 votes
4 answers
1k views

Is there a vimscript function to wrap text?

2 votes
1 answer
95 views

How do I combine system() and "start" in a Windows environment

2 votes
1 answer
556 views

Digraph for the "bullet" (8226 hex 2022) [duplicate]

2 votes
1 answer
2k views

How can I prevent the default loading of ftplugin/text.vim for certain *.txt files?

2 votes
1 answer
2k views

"set hidden" leaves many *empty* buffers. Can I automatically get rid of them?

2 votes
1 answer
61 views

Is there a platform independent way to use "${ENVVAR}more_text" in vim?

2 votes
1 answer
581 views

How do I prevent W16 "Warning: Mode of file "..." has changed since editing started"

2 votes
2 answers
373 views

How do I delete/unset a buffer local option (such as autoread)?