Comments (9)
Works fine for me on Linux and Windows, haven't tried OSX yet:
What Vim version are you using? If it's 7.0 or 7.1 then you'll just need to upgrade Vim.
from ctrlp.vim.
I'm using Vim v7.3.353 on OSX.
I have copied my .vim and .vimrc to my Linux machine and it works there:
from ctrlp.vim.
Does it work if you have this in your .vimrc?
set termencoding=utf-8
set encoding=utf-8
It works for me on OSX (oddly only after a system restart):
from ctrlp.vim.
Added it to my .vimrc, but no, still nothing, even after system restart.
from ctrlp.vim.
It looks like the problem is with Vim's globpath()
not expanding the path correctly when the path has one of those characters. I'm not 100% sure, though.
I think you'll have to use the g:ctrlp_user_command
option to get the list of files instead. You can add this to your .vimrc:
let g:ctrlp_user_command = 'find %s -type f'
Or this to filter files that you don't want to be listed:
let g:ctrlp_user_command = "find %s -type f | egrep -v '\.(swp|swo|log|gitkep|keepme|so|o)$'"
Let me know how that works.
from ctrlp.vim.
That works, thank you!
I noticed just now that it's even on the homepage:
let g:ctrlp_user_command = 'find %s -type f' " MacOSX/Linux
Oh well. :)
from ctrlp.vim.
Hi,
I'm encountering a similar problem in Linux terminal: I can't type any of the Estonian umlaut characters ä, ö, ü, õ
on the Ctrl-P command line.
Typing ä
points the cursor to the first, topmost match in Ctrl-P window.
Typing ü
points cursor to the last match at the bottom.
Typing ö
does nothing.
Typing õ
enters gUl
to the command line.
I tried all the settings described above, including multiple restarts. It looks as though Ctrl-P doesn't recognize my Estonian keyboard. Thanks for any help!
from ctrlp.vim.
@marttt: that's a different issue and it's a known limitation of the ctrlp prompt. But if you update ctrlp to the latest, you can set the g:ctrlp_key_loop
option to allow typing of accented characters. See :help g:ctrlp_key_loop
for more details.
from ctrlp.vim.
@kien: Yes, I had just found and applied the patch a second ago. This works brilliantly, thanks very much!
from ctrlp.vim.
Related Issues (20)
- Option to display full file path rather than buffer name.
- Can't find setting for saves MRU files per session. It's possible?
- How can I sort buffers by id?
- nothing here
- <F5>, :CtrlPClearCache, :CtrlPClearAllCaches don't do anything anymore HOT 1
- git submodules use top most .git as root HOT 2
- Change searching directory after invoking CtrlP with <C-p>.
- Navigating results with arrow keys turns on insert mode and inserts characters with `foot` terminal HOT 5
- Not able to search for some of the files
- Error if there is space in directory name or path HOT 1
- opened by mistake
- How to stop opening files in split window HOT 1
- Broken links in documentation
- error when open files with code like this
- Switch to buffer mode
- File not found HOT 2
- Opening files with CtrlP while in Fern Buffer HOT 1
- setting for CtrlPBuffer to be sorted in buffername or filename order
- Is it possible to save buffers before exiting?
- Getting stuck in the popup window
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctrlp.vim.