with python
< vim
< computing
< chris2048
This chapter describes Leo’s vim-like bindings, including how to install them. Installing vim bindings Place a copy of the “@keys Vim bindings” node and its sub-nodes, located in the leoSettings.leo file, under the “@settings” node in the myLeoSettings.leo file
Finding the perfect IDE for Python isn’t an easy feat. There are a great many to chose from, but even though some of them offer really nifty features, I can’t help myself but feel attracted to VIM anyway. I feel that no IDE accomplishes the task of giving the comfort of complete power over the code – something is always missing out.
I was using the Python omni-completion feature in Vim, and I noticed that when you complete a module name, it inserts the module name, followed by a dot (presumably because you would then want to access something inside the module). This is helpful, except that it breaks common omnicompletion keybindings, such as imap <silent><buffer> . .<C-X><C-O> In order to get completions for this module, one would have to either manually type <C-X><C-O> to run the completion function again, or delete and then re-insert the period.