Comment on emacs
puppy@lemmy.world 1 year agoI don’t think you understood what I said. I started using vim key bindings ALSO in my IDE and my speed improved because of it. I didn’t ask you to stop using vi. I merely suggested that you used MORE of it. If your Emacs setup already use vim keybindings that’s exactly what I’m doing too.
netchami@sh.itjust.works 1 year ago
Oh thanks, now I got it. I agree, vi/vim bindings are awesome. I use them everywhere, in Emacs, in my shell, my browser, and in my tiling window manager. When I said, that I wouldn’t want to program in vi, I didn’t mean that because of the keybindings, I meant that because vi just lacks many useful features for programming and you can’t add plugins to it. I have programmed in Neovim for over a year though. Just switched to Emacs, because it has even more features, possibilities and customizability. I will never drop Vim keybindings though.
puppy@lemmy.world 1 year ago
Awesome! How did you get them in the shell and browser? Now I am also curious.
netchami@sh.itjust.works 1 year ago
I use the fish shell. In fish, you can just add
fish_vi_key_bindings
to your config file and now Vi bindings will be automatically enabled when you start fish. For bash, it’sset -o vi
and for zsh it’sbindkey -v
. For the browser, you can install plugins like Vimium (Vimium-FF for Firefox) or Tridactyl. I find these to be incredibly useful, I love navigating around websites with j and k or d and u, jumping up with gg and down with G, searching with /, closing tabs with x, reloading websites with r, opening new tabs with t, going back and forward with H and L, etc.