Tag Info

Hot answers tagged

3

It is an option open VIM and run :set hlsearch To turn it off :set nohlsearch See http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches for details


2

From your experience with vimtutor, it looks like you have the basic version of vim installed (vim-tiny). It is just a step above the old school vi in the evilutionary ladder, so try installing a more feature-complete version: sudo apt-get install vim Or, to get GVim as well: sudo apt-get install vim-gnome And do remember to call vim instead of vi. If ...


2

You need to have Vim with the clipboard and xtermclipboard features compiled in. In Ubuntu, these are only available with the vim GUI packages (vim-gnome, vim-gtk, vim-athena, etc.). Once you install one of these, you can copy to (and paste from) the clipboard registers (* and +). From this very informative post on Vi and Vim: For X11-based systems (ie. ...


1

Use this command instead of dpkg-buildpackage -us -uc and all is fine: DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc -b Tests are disabled and there are only built binary packages.


1

This was a bug in vte, which was fixed a while ago (in 0.36 if I recall correctly).


1

I tested but realized I would need to track down all the possible sources of color like commands, the command prompt itself, etc. This is a sed filter from commandlinefu.com that works great if you pipe anything through it. Of course you can save the output once piped like this: cat test.txt | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" > ...


1

Unfortunately there's no automated way to do this. Have you have probably made progress and/or no longer need this answer? Your question isn't very specific. You mention you have already figured out a lot of your conversion, and some don't need to be transformed. Which still do? There is a vim mode for emacs called evil that might be interesting. They ...


1

I love vim, but it is not the simplest thing to learn how to use. The default install is not very good either due to space considerations. Your sudo apt-get install vim is a good start to having a more usable install of vim. vim then :help will get you started. which vim shows as @BryceAtNetwork23 mentioned. To really learn try: vimtutor To see a list ...


1

You can use $ which vim to identify where vim has been installed into. And use $ vim to open vim editor. If you want to know the parameters that you can pass type $ vim -h And also to edit a specific file or create a file in a particular file name, use $ vim file_name



Only top voted, non community-wiki answers of a minimum length are eligible