Comments (5)
Sounds reasonable. 👍 Goes to TODO. I should have some vacation soon and I plan to spend some time on processing that TODO list :).
from vim-ctrlspace.
Perhaps the following function might come in handy for escaping special characters (other than the *
), netrw Gitignore only escapes the .
.
function! s:EscapeString (string)
let string=a:string
" Escape regex characters. See http://www.regular-expressions.info/characters.html
let string = escape(string, '^$.|?*+(){[\')
return string
endfunction
Nice holidays !
from vim-ctrlspace.
After latest changes this goal (to obey .gitignore) could be achieved easily with the Ag support: https://github.com/szw/vim-ctrlspace#gctrlspace_glob_command. Ag obeys .gitignore out of the box.
from vim-ctrlspace.
It works with
if executable("ag")
let g:ctrlspace_glob_command = 'ag -l --nocolor -g ""'
endif
instead (no dot). Can you remove the trailing \r
when listing the files? Ag
's output on Windows gives them with a \r\n
separator.
from vim-ctrlspace.
👍 Thanks @Konfekt, you are right. I've added the CR removal and improved the example in the docs. Cheers!
from vim-ctrlspace.
Related Issues (20)
- Allow quick toggling between last buffer and current buffer HOT 7
- Tab label in a workspace HOT 7
- Don't sort the bufferlist for vim-airline HOT 2
- File Engine Error HOT 4
- Workspace load/save only works for 1st TabList HOT 7
- Bug The workspace is not saved correctly HOT 9
- Search algorithm ranking failure HOT 3
- [Question] Are "bookmarks" and "projects" equivalent? HOT 2
- [Question] How do you manage workspaces with terminal buffers? HOT 2
- .cs_file in read only directories HOT 2
- Kudos!
- Open Ctrlspace window from command line buffer will lock the cursor in the window. HOT 2
- session-local viminfo file
- Error loading workspace HOT 3
- Add file_engine_darwin_arm support HOT 3
- Ctrl-[ is not working on CtrlSpace buffer with Kitty terminal. HOT 2
- CWD not switching upon tab switch HOT 1
- Filetype not set for additional buffers when multiple files opened HOT 17
- Linux on Apple Silicon HOT 2
- use fzf instead of custom Go compiled binaries for searching
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 vim-ctrlspace.