Friday, November 22, 2024

How To Center A Vim Search

Trying to find if i can switch from ALSA to pulse audio in the renoise.xml config. alsa doesn't share audio so when I have reaper running and try to open renoise it poops its pants and I have to go in and manually switch the driver to something that isnt jack (because jack isn't set up and I don't wanna have to deal with qjackctl if I don't have to).The

Add this to your .virmc:


" Center Searches
nnoremap n nzz
nnoremap N Nzz
 

THE REGEX TO FIND XML TAGS:


.* is everything in the middle of the comment

optional, in command mode in vim type:


:set hlsearch

No comments:

Post a Comment