René Nyffenegger's user avatar
René Nyffenegger's user avatar
René Nyffenegger's user avatar
René Nyffenegger
  • Member for 9 years
  • Last seen more than a week ago
18 votes
1 answer
2k 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?

15 votes
3 answers
5k views

Is it possible to create mappings with parameters?

14 votes
3 answers
6k views

How do I reverse a string with Vim script

10 votes
3 answers
3k views

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

9 votes
1 answer
5k views

How do I alphabetically compare two strings

7 votes
1 answer
1k 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
286 views

How do I exclude the → from file name characters?

5 votes
1 answer
545 views

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

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
753 views

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

5 votes
3 answers
664 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
494 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

4 votes
1 answer
4k views

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

3 votes
2 answers
249 views

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

3 votes
1 answer
522 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
543 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
59 views

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

2 votes
1 answer
545 views

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

2 votes
2 answers
310 views

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