Inspiration
People keep triggering each other over emacs vs vim. Oh sometimes sublime too (lol). As a representative of the pacifist nano community, I wish to bring the nano experience to the vim users. This way, vim users can start editing text in a sensible way without losing all the street-cred.
What it does
Its a vim plugin which perfectly transforms vim to nano, you won't even notice its vim.
How I built it
Imitating the UI was the toughest part. Vim's ancient design limits prevents it from matching the awesome nano UI. Moreover, making it responsive to terminal size was a big pain. I cleverly divide the UI into 3 vim splits, 2 of which runs a python UI generator which adapts to the terminal width.
Vim keybindings to replicate nano features
Challenges I ran into
The UI!
Accomplishments that I'm proud of
The UI hack!
What I learned
How not to write vim plugins
What's next for vim-nano
Full keybinding support!
Built With
- python
- vimscript
Log in or sign up for Devpost to join the conversation.