Vim-endwise – I’m a Ruby developer, so I use it to add end after if, do, def, and several other keywords, It allows you to easily do some basic file system operations, like moving files, renaming, creating new files, and many others, I’m not a fan of heavy plugin Vim configs, so I’m using only a few. What I’d like to show you is the way how I combine Vim with other tools to get all I need as a web developer. It sounds strange but after some time it feels very natural and it’s very hard to go back to your regular editor. Insert is for typing text into a document and normal is for performing different operations on the document, like moving the cursor, deleting fragments of text, changing it, and so on. It has two modes, insert mode and normal mode. There is a lot of great articles and videos about it. I won’t be getting into details about what VIM is and how it’s different from other editors. I don’t use TMUX panes, only windows, and do a lot of switching (I have CTRL + double-A bind to switching between last windows).Īnother very convenient feature of TMUX is that it allows me to find and copy text from a terminal without using a mouse. So, in one TMUX window, I have the Rails server running, in the second I have my Vim opened, and every time I need to do something in the terminal, like checking routes, running migrations or tests, I just open a new window with CTRL-A C and do the thing. I use it to switch between multiple things in one terminal. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. I start my working day with opening a terminal, cd ~/Projects/XYZ, and running tmux, so let’s start there. It’s worth mentioning I work on Linux, but you can set it up on Mac or Windows with no problems. ![]() Since then, I tried some “real” IDEs but always came back to Vim and terminals as it’s a very fast method, has all the tools I need and I simply like working in the text mode.
0 Comments
Leave a Reply. |