Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor.

0
votes
1answer
10 views

How copy from opened textfile and paste while searching in vim?

I am very new to vim. I know there's a lot of copy-pasting issue. I kind of like the vims different buffer idea, but sometimes I have to work with the big text file and search different words.For ...
0
votes
0answers
13 views

Are there any good VIM( gvim) plugins to develop AutoHotScripts [on hold]

Are there any good VIM( gvim) plugins to develop AutoHotScripts or VIM based solution for ahk?
0
votes
0answers
16 views

Open URL with VIM in Ubuntu WSL (Windows Subsystem for Linux)

You can use the gx command to open a URL in vim. Is this possible when using vim within Ubuntu in WSL?
0
votes
1answer
45 views

How to uninstall vim on mac?

I installed vim on my Mac by using the git clone command: https://github.com/vim/vim.gitcd vim/srcmakeHowever now I want to remove it and re-install vim via homebrew. Could any expert tell me ...
0
votes
1answer
75 views

how to open reference in new or next split in vim

When I move over a key word and then hit ^], it will jump to the reference in this very split. How can I keep my current window the same and instead open the reference in another split window (either ...
0
votes
0answers
18 views

New file in Midnight Commander ftp

I really want to use mc as my ftp app, but I cannot seem to figure out how to create new files. Is it even possible? I'm using Arch Linux.I start mc with an alias "EDITOR=vim mc".shift+f4 works on ...
0
votes
1answer
16 views

uninstalling vim-minimal also uninstalls sudo in Centos 7.4

Setting up a new CentOS 7.4 machine. I installed vim using sudo yum install vim, and then I uninstalled vim-minimal with sudo yum remove vim-minimal. Now sudo has been uninstalled:$ sudo-bash: /...
0
votes
1answer
77 views

Trying to get vim-like pane navigation in tmux (hjkl) and select-pane not working

I'm trying to set the following keybindings to get similar pane navigation as vim. I tried the following in my tmux.conf file, but it ends up just making it so I can't use hjkl at all (even when just ...
0
votes
1answer
22 views

vim cut logical column from structured data

I have some space delimited data that is structured into logical columns.For example:-71.12 0.150667281077312 0.002211111620961-71.12 0.118496551977185 0.001861996157838-71.12 0.060235544965347 ...
13
votes
1answer
1k views

Why does shift insert only work fully in insert mode?

Just tried pasting some content (in Git Bash on CentOS server) into a file using vim.I just opened the file and tried using shift+insert and I noticed that the first half (roughly) gets cut off, but ...
1
vote
1answer
78 views

integrate tmux tabs with vim tabs

I'm trying to simplify the way that I navigate between tabs in my terminal. Using ssh <workstation> -t 'tmux -CC attach', I can get iTerm to display tmux tabs as native macOS tabs (and therefore ...
0
votes
0answers
26 views

Raspbian (Scretch9): Hot to dissable shortcut <CTRL><SHIFT>W in terminal

I use the vi editor. It is able to divide the screen as horisontaly as vertically. The shortcut to vertical-divide is <CTRL><SHIFT>W+vBut this Shortcut is also set as default in ...
0
votes
0answers
40 views

SIP prevents writing to /usr/share/vim/vimrc, which disables loading of vim defaults

Wondering why vim didn't execute the defaults file, I discovered it aborts early on because of this if guard:if exists('skip_defaults_vim')finishendifOnly one script is loaded before this ...
1
vote
1answer
43 views

Cannot write changes to hosts file at Windows 7 by GVIM

I removed read only permission from C:\Windows\System32\drivers\etc\hosts file and file is not hidden. I belong to Administrator group at Windows 7 system.When I open file in gvim without ...
1
vote
0answers
28 views

Tmux prints u'0x001b' and “]112” in vim when tmux prefix pressed

I have an issue with tmux, similar to tmux printing u'0x001b' and "]112" randomly but not the same, because it only happens inside vim, and when I press Ctrl-a (my tmux prefix).I ...
1
vote
1answer
32 views

vim not picking up new syntax files

I copied this GLSL syntax file to /usr/share/vim/vim74/syntax/glsl.vim, its permissions are -rw-r--r-- same as other syntax files.I gvim /tmp/x.glsl but it does not activate GLSL syntax highlighting ...
1
vote
1answer
29 views

How can I delete every letter in vim

In my code I have a HUGE line containing number and letters.How can I delete all the letters of this line using vim ?
0
votes
0answers
38 views

Could not load library msvcrt-ruby240.dll

I have installed the last version of the x86 version of vim 8 and I have an issue whith the ruby integration.My plugins like LustyExplorer can’t work and when I enter ruby –version I get the ...
0
votes
1answer
30 views

How to move file opened in vim to tmux

I want to create a command in vim which opens the currently open file in a new viw session which is inside a new tmux session.Something like this:Open vim with test.c -> Execute given command -> ...
0
votes
1answer
78 views

vim colorscheme not working, from file or colorscheme command

I'm trying to use a color scheme for vim, but I can't get it to load. I've placed ~/.vim/colors/palenight.vim with the following:let s:overrides=get(g:, "palenight_color_overrides", {})let s:...
0
votes
1answer
21 views

Vim no longer calls <Plug> in insert mode?

I have the following configuration in my vimrc file.inoremap <C-A> <Plug>InsertCommentAnd somewhere in my vim folder I definedinoremap <silent> <Plug>InsertComment <...
1
vote
2answers
61 views

How to break a line in vim with auto-wrap paragraph turning on?

I am trying to use the vim autowrap functionality to automatically wrap my paragraph into lines no longer than 80 letters in real time as I type. This can be done by set textwidth=80 and set fo+=a. ...
1
vote
0answers
33 views

How to separate combining characters in vim or a terminal emulator

Is there a way, in vim or a terminal emulator like xterm, to "separate" combining characters? For example, with characters "ก" and "ุ", instead of combining to "กุ", just displaying "ก ุ". I.e. is ...
0
votes
1answer
100 views

How can I navigate terminal output like a text file with Vim keybinding?

I use Neovim which has a really cool feature where if I type :terminal it loads a terminal emulator inside Neovim. The interesting thing about this terminal emulator is that at any time I can type ...
3
votes
2answers
94 views

Self-closing parentheses in text editors can be annoying - how to deal with them?

I am starting to find parentheses / square bracket autocompletion annoying. The cursor remains inside the braces, and I have to reach the right arrow with my right pinky to get out of the bracket and ...
1
vote
0answers
23 views

Why does Windows 7 bizarrely present two different versions of the same file? [duplicate]

I've stumbled across what I consider to be some very bizarre behaviour by Windows 7 (it may apply to later versions of Windows too but I'm testing on Win7) for files in certain locations and I can't ...
1
vote
2answers
77 views

Regex to find lines containing only integers in vim

I have a file containing integers (line numbers) and text.By extracting a PDF-file those line numbers got put into seperate lines from the text and I want to delete all those line numbers. I'm not ...
1
vote
1answer
268 views

Windows Subsystem Linux - Make VIM use the clipboard?

To get this off the table now and avoid any confusion ... This is for Linux running in Windows 10(ubunutu), also known as WSL. Its not the same as cygwin and windows or stand alone linux. It is it's ...
1
vote
1answer
66 views

Sublime is crashing because of huge csv file while editing content using regex

I have almost 1GB csv file and need to edit that file with using regex and have to do find and replace on sublime with regex \=\\\" for finding and=' for replacing.I can do it from spiting csv file ...
-1
votes
1answer
24 views

sending argument to vim using grep

I saw this question but I couldn't implement what I'm looking for.Here is what I want:I have a file with a few lines ending with 4.1.01.97 (same number for all lines - but number can change from ...

153050per page