New answers tagged external-command
0
It can be done with :terminal $SHELL $CUSTOM $ARGS.
4
Just use :vertical terminal and then just map it to a key or something.
Also, I have this in my vimrc: map <Leader>t :set mouse=a<CR>:vertical terminal<CR> That enables me to switch between split windows with my mouse since you wont be able to use :wincmd (h,j,k,l) to switch back and forth split windows cause youre in the terminal.
You can ...
3
When using a relative path, awk assumes the path is relative to the current directory. In the comments, you note that :pwd gives /home/user; that means you need to give either
an absolute path to denorm.awk, or
a path relative to /home/user (in general, relative to the :pwd)
As far as keeping the existing csv, you should use the filter syntax (:%!awk -f ...
2
Vim 8.1 adds debugger integration, see :help terminal-debug. The summary is that you run
:packadd termdebug
:Termdebug myprogram
And then you can set breakpads either in the gdb buffer using b myfunc, or in the vim window with :Break, or by right-clicking a line and picking "Set breakpoint". Similarly, there are 3 methods for running the program, ...
Top 50 recent answers are included
Related Tags
external-command × 192command-line × 32
vimscript × 21
bash × 11
shell × 11
microsoft-windows × 10
key-bindings × 9
terminal × 9
vimrc × 8
neovim × 7
filetype-tex × 6
gvim × 5
buffers × 5
autocmd × 5
ex-mode × 5
search × 4
functions × 4
register × 4
linux × 4
save × 4
filesystem × 4
visual-mode × 3
vim-windows × 3
netrw × 3
the-silver-searcher × 3