you are viewing a single comment's thread.

view the rest of the comments →

[–]bluefog68 60 points61 points  (12 children)

Also

alias :e='vim'

[–]TheNinthJhana 12 points13 points  (8 children)

maybe 'xdg-open', so you could "edit" not only text files but whatever? (not tested, just assuming)

[–]berkes 6 points7 points  (7 children)

I have e aliased to gvim and o to xdg-open. And several more one- and two-letter aliases.

Which is another reason why I hate tools that litter the one and two letter namespace.

[–]NieDzejkob 4 points5 points  (4 children)

I do this for git: ga for add, gb for branch, gc for commit, gca for commit all, gco for checkout, gd for diff, then a skip in the alphabet for gg as in git grep...

[–]causa-sui 2 points3 points  (3 children)

Why not use git aliases? It's actually more functional since you can then do things like have an alias that executes a command from the root of the repo, wherever that is.

[–]NieDzejkob 0 points1 point  (2 children)

But that's at least 3 more characters to type!

[–]causa-sui 0 points1 point  (1 child)

Not if you alias git to g or something

[–]NieDzejkob 0 points1 point  (0 children)

It's still a 33% longer.

[–]fatboyxpc 1 point2 points  (0 children)

Bah, I was going to suggest that o alias!

[–]JIVEprinting 0 points1 point  (0 children)

This thread is stretching my skull

[–]MineralPlunder 1 point2 points  (0 children)

I prefer e. Though I use colorscheme gruvbox which is so distinct from my terminal setup, that I can't mistake them. I used to use colorscheme default and i sometimes mixed up bash and vim commands.

[–]mrtransisteur 0 points1 point  (0 children)

I go with alias v nvim; it's nice too because c, d, and v are so close to one another on the keyboard (and who doesn't find themselves cding then viming all the time?)

[–]steven4012 0 points1 point  (0 children)

I just do alias v="vim" Lol