There are a lot of different options to choose from to help out with these issues:
Use aliases
- Both for commonly used directories, e.g.
alias q='cd /home/durrantm/Dropbox/94_2015/work/code/ruby__rails/ruby/ruby_quiz'and also for common commands. Evenalias p=pwdmakes life easier when you typepwda hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
- Both for commonly used directories, e.g.
Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine:
Features:- shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
- does a carriage return so actual prompt is on a new line
- uses color for the different information
- show my git branch when I'm in a git project.
- works on both Ubuntu and OSX (I use both daily)
- shows date, user and machine
More at http://unix.stackexchange.com/a/127800/10043https://unix.stackexchange.com/a/127800/10043
Use ctrl-p within vim as indicated and shown by muru
Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.
Command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf
Use the z-shell which tends to have more built in support and better options such as cdpath (the Z Shell's menu-format directory completion) and the Z Shell's autocd option,