I know for searching a whole word I should use /\\<mypattern\\>. But this is not true for dash (+U002d) character and /\\<-\\> always fails. I also try /\\<\\%d45\\> and it fails too
I am playing with my vimrc settings, and enabled the mouse support. set mouse=a Now, I miss the copy and paste option with mouse. Normally, if the mouse is not enabled, I could copy text with left
I am trying to open a log file in solaris vi editor, only 4k lines getting opened. If i open that same file using less, all lines got properly opene开发者_Python百科d. If I execute the wc command on t
I have data in this format: 03/18/2010 03/18/2010 04/19/2010 I would like to move the year from the end of each date string, to the beginning, like so:
Is it possible to add spacing every 4 characters 开发者_Go百科in vi? And if it is, what\'s a good google term to search for to learn how to do similar stuff?To add a space every 4 characters you could
Is it possible to 开发者_运维问答use vi/vim commands to write the number 1-10 on separate lines?
H开发者_JS百科ow do I improve performance when I\'m scrolling my files and coding them? With syntax highlighting, vim is so slow. When I switch it off, everything is ok.
How do I do I set the syntax highlighting in Vim 7 for python? I would like to set my own colorschemes, and syntax h开发者_运维问答ighlighting for a type of code file.The command to enable syntax hig
When I perform a search and replace in Vim, I like to use the search function (/regex) fir开发者_开发百科st to visually test my regex.
In my .vimrc file I have the line inoremap jj << Esc>> (I can\'t live without this :)) I wish to ha开发者_开发知识库ve the same remap while using ksh in set -o vi mode, any advice on