vim build - RawIron/rawiron.github.io GitHub Wiki
build
Each project might have a different build configuration. The configuration for a build should be saved inside the project root folder.
vim is foremost a powerful text editor. A good solution for vim could be a build script written in bash or python. Then configure the vim build to call the build script.
IDEs like VS Code or Eclipse integrate very well with build systems.
- Python, PHP, Ruby
- C, C++
- D
- Go
- Elixir
- Haskell
:make
:set makeprg=mvn
:set makeprg?
run
- name of a executable
- name of a file which contains main
module
highlighted lines, block
plugin vim-slime transfers selection to a REPL running in tmux
what about buffers? highlight the text, send to a buffer, execute python on the buffer’s content
http://stackoverflow.com/questions/1533565/how-to-get-visually-selected-text-in-vimscript http://vim.wikia.com/wiki/Evaluate_current_line_using_Python vim.wikia.com/wiki/VimTip609
single function
- select the function block
- run the selected block