About 482,000 results
Open links in new tab
  1. What is the difference between Gvim and Vim? - Ask Ubuntu

    Dec 20, 2016 · 3 Both GVim and Vim are the same, the difference is that Gvim offers an interface that doesn't run in a terminal window. Basically, Gvim has GUI-like menus and toolbar. Here …

  2. How to replace a character by a newline in Vim - Stack Overflow

    Here's the trick: First, set your Vi (m) session to allow pattern matching with special characters (i.e.: newline). It's probably worth putting this line in your .vimrc or .exrc file: :set magic Next, …

  3. gvim - What are the differences between the different vim …

    Apr 16, 2013 · Locally, to see which features are supported in a particular installed vim package, running the following command: vim --version will provide a list of features included (or …

  4. How to do case insensitive search in Vim - Stack Overflow

    I'd like to search for an upper case word, for example COPYRIGHT in a file. I tried performing a search like: /copyright/i # Doesn't work but it doesn't work. I know that in Perl, if I give th...

  5. What's a quick way to comment/uncomment lines in Vim?

    Nov 5, 2009 · 66 Here is how I do it: Go to first character on the first line you want to comment out. Hit Ctrl + q in GVIM or Ctrl + v in VIM, then go down to select first character on the lines to …

  6. Linux gvim vs vim - Stack Overflow

    Mar 19, 2014 · is there a difference between gvim and vim on a linux machine ? I installed an enhanced version of VIM editor which includes recent enhancements: vim-enhanced-2:7.2.411 …

  7. How to generate a number sequence in file using vi or Vim?

    Is there a way to generate a number sequence in vi or Vim? For example, for an arbitrary range of lines i through j (where i < j) in a file opened in Vim, is there a way to generate a number se...

  8. How to add text at the end of each line in Vim? - Stack Overflow

    In Vim, I have the following text: key => value1 key => value2 key => value1111 key => value12 key => value1122222 I would like to add "," at the end of each line. The previous text...

  9. vim - Copy all the lines to clipboard - Stack Overflow

    Oct 25, 2009 · Vim can only access the system clipboard if it is compiled with xterm_clipboard enabled. To find out whether you have this feature, run :version in vim, and look for the …

  10. How to insert text at beginning of a multi-line selection in vi/Vim

    In Vim, how do I insert characters at the beginning of each line in a selection? For instance, I want to comment out a block of code by prepending // at the beginning of each line assuming my la...