Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vim-tmux-setup [2024/02/19 20:50] – steve.wang | vim-tmux-setup [2024/02/25 18:51] (current) – [Configuration] steve.wang | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== About The Two Programs ==== | ===== About The Two Programs ==== | ||
- | Vim is a editor. [[https:// | + | Vim is a editor. [[https:// |
TMUX is a terminal multiplexer. We will use it to send code between terminal windows. [[https:// | TMUX is a terminal multiplexer. We will use it to send code between terminal windows. [[https:// | ||
Line 26: | Line 27: | ||
{{ : | {{ : | ||
To quit vim press these buttons. Do not type the plusses " | To quit vim press these buttons. Do not type the plusses " | ||
- | CTRL/CMD + c + : + ! + q | + | CTRL+ c + : + ! + q |
More usage instructions about VIM will be given later. | More usage instructions about VIM will be given later. | ||
Line 48: | Line 49: | ||
A useful tool to automatically configure TMUX and VIM to work correctly for Konduktiva can be found on the Konduktiva Github. | A useful tool to automatically configure TMUX and VIM to work correctly for Konduktiva can be found on the Konduktiva Github. | ||
- | DISCLAIMER: The tool will create a vimrc(vim configuration) if it does not find one in your system and in the correct location. If it does find a vimrc file, it will bind shortcuts for vim to the buttons F3, F8,, F9, F11, <SPACE + ;>, <SPACE+ ->, if it does not find anything | + | DISCLAIMER: The tool will create a vimrc(vim configuration) |
[[https:// | [[https:// | ||
Line 85: | Line 86: | ||
Learn more about tmux [[https:// | Learn more about tmux [[https:// | ||
+ | |||
+ | ===== Working With Konduktiva ===== | ||
+ | |||
+ | What I like to do is have two terminals side by side in half screen. Then, the two terminal windows will have TMUX running in them. My VIM editor will be on one side and nodejs with Konduktiva running in it will be on the right. Like so: | ||
+ | {{ : | ||
+ | |||
+ | I can send things to Konduktiva from vim by pressing the enter key: | ||
+ | < | ||
+ | <img style=" | ||
+ | </ | ||
+ | |||
+ | [[first_steps|Click here to start learning about Konduktiva]] |