vim
I use the text editor “VIM” for almost everything, since it’s quick, does pretty much everything I need. It’s interface isn’t the quickest to learn, but once you can use it, it’s great.
I especially like being able to log into the server from any computer in the world and be able to have my whole environment available to me, I don’t have to install huge complex IDEs or whatever.
Some plugins I use:
- Vundle
- vim-less
- surround.vim
- Syntastic
- vim-powerline
- pythoncomplete
- The-NERD-tree
- Markdown-syntax
- jedi-vim
- YankRing.vim
- ack.vim
- Pydiction
- ctrlp.vim
- minibufexpl.vim
and some bits I have in my .vimrc which may be interesting to you other VIMers:
and
Spacebar leaderkey
One thing I only recently did was switch the spacebar to being my ’leaderkey’. I’d not really used the ’leader’ stuff much before, but now it’s all working I really like it.
which seems a bit odd, but seems to work. Essentially I’ve mapped the “real” leaderkey to something I can’t easily
access by accident, and then (outside of visual / insert mode) mapped space to the leader. I was trying
for a while to figure out some kind of noimap or something syntax to say only do this outside of visual/
insert mode, but then this works without any complexity. Cool.
I’ve then assigned a bunch of window/pane movement leaderkeys:
which lets me switch windows with hitting space and then a direction, or swap windows with double tapping space.
Visible tabs and spaces:
A couple of minor things that really bug me is spaces at the end of lines, and mixing tabs and spaces. Here’s a couple of bits which make that a bit better.
Python PEP8 style helpers
It’s also pretty helpful having a visual reminder about line lengths: