-
Notifications
You must be signed in to change notification settings - Fork 972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Cmd-T with Ctrl-P #41
Conversation
+1 |
I'd be happy to merge such a pull |
Working on this right now. Too many people are having issues with Command-T. |
We may want to add a build step that automatically purges old git submodules, otherwise people experiencing the SegFault have to manually |
I would advocate abandoning the submodule orientated packaging of plugins and switching to Vundle as per my suggestion in #45. It would eliminate these sort of complications in the future if new packages are added or old packages are removed, and would be easier for users to keep their plugins up to date. |
Also, thanks for taking care of this @strongriley. I probably wouldn't have had an opportunity to get around to it this weekend. |
no prob! Maybe just get it replaced in the short-term using Pathogen and submodules to stop all the pain, then we can talk about moving to Vundle in the future? |
+1 |
Also, I think we should definitely clear the cache when vim exits - imagine switching branches, opening vim and not finding your files.
@strongriley please confirm the new hotness, and then merge this bad dog. |
nmap <leader>d :NERDTreeToggle<CR> | ||
nmap <leader>f :NERDTreeFind<CR> | ||
nmap <leader>t :CommandT<CR> | ||
nmap <leader>T :CommandTFlush<CR>:CommandT<CR> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this is still nice to have when you add new files.
LGTM except I still like the ,T with refresh. |
@strongriley take a look now. I was under the impression that ctrlp wasn't caching at all, and it seemed fast enough to me that we didn't need to cache and thus didn't need the binding. |
Thanks @rudle. From what I can tell, it caches within the same session, which needs to be cleared if files are added or deleted. Merging. |
I would suggest replacing Command-T with Control-P. Control-P performs the same task but is in my experience faster, and is implemented in pure vimscript so does not depend on any compilation steps during install or Ruby bindings.
https://github.com/kien/ctrlp.vim