cloudhead / neovim-fuzzy

Minimalistic fuzzy file finding for neovim
BSD 3-Clause "New" or "Revised" License
111 stars 17 forks source link

fuzzy find stopped working #38

Closed 1ak31sha closed 6 years ago

1ak31sha commented 6 years ago

I get this error. really cant remember what i did :'( Trying to figure out why. help much appreciated!

:FuzzyOpen E79: Cannot expand wildcards Error detected while processing function 23_fuzzy_open: line 2: E344: Can't find directory "stty: stdin isn't a terminal" in cdpath E472: Command failed Press ENTER or type command to continue


my init.vim

" ------- " Python " ------- let g:python3_host_prog = '/Users/u606/.pyenv/versions/neovim3/bin/python' let g:python_host_prog = '/Users/u606/.pyenv/versions/neovim2/bin/python'

" ---- " Set " ---- set nocursorline set encoding=utf8 set nocp " 'compatible' is not set set number set shiftwidth=2 set expandtab autocmd Filetype ruby setlocal tabstop=2 autocmd Filetype rb setlocal tabstop=2 let g:ackprg = 'ag --nogroup --nocolor --column'

" ------- " PLUGINS " ------- call plug#begin('~/.config/nvim/plugged')

Plug 'vim-airline/vim-airline'
Plug 'w0rp/ale' Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'carlitux/deoplete-ternjs', { 'for': ['javascript', 'javascript.jsx'] } Plug 'othree/jspc.vim', { 'for': ['javascript', 'javascript.jsx'] } Plug 'mxw/vim-jsx' Plug 'cloudhead/neovim-fuzzy' Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } " Plug 'neomake/neomake' "| Plug 'dojoteef/neomake-autolint' Plug 'mhartington/oceanic-next' Plug 'ervandew/supertab'
Plug 'ternjs/tern_for_vim', { 'for': ['javascript', 'javascript.jsx'] } Plug 'SirVer/ultisnips' Plug 'tpope/vim-cucumber'
Plug 'tpope/vim-fugitive' " Plug 'ryanoasis/vim-devicons' Plug 'tpope/vim-surround' Plug 'honza/vim-snippets' Plug 'benmills/vimux' " Plug 'terryma/vim-multiple-cursors' " Plug '~/.config/nvim/scripts/ColDevicons'

call plug#end() "

" ---------------------- " PLUGIN CONFIGURATIONS " ----------------------

" --------- " DevIcons " --------- let g:WebDevIconsUnicodeDecorateFileNodesDefaultSymbol='👩 ' if exists('g:loaded_webdevicons') """ call webdevicons#refresh() endif let g:WebDevIconsUnicodeDecorateFolderNodes = 1 let g:DevIconsEnableFoldersOpenClose = 1 let g:webdevicons_gui_glyph_fix = 1

" --------- " Deoplete " --------- " let g:deoplete#enable_at_startup = 1 let g:deoplete#omni#functions = {} let g:deoplete#omni#functions.javascript = [ \ 'tern#Complete', \ 'jspc#omni' ]

" --------- " Nerd Tree " --------- nnoremap :NERDTreeToggle "autocmd vimenter NERDTree "// Open the tree by default let NERDTreeShowHidden=1 autocmd bufenter if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif

" --------- " Neomake " --------- "jcall neomake#configure#automake('n')

" ----------- " UltiSnips " ----------- let g:UltiSnipsExpandTrigger="" let g:UltiSnipsJumpForwardTrigger="" let g:UltiSnipsJumpBackwardTrigger="" let g:UltiSnipsEditSplit="vertical"

" --------- " AUTOCMD " --------- autocmd BufNewFile,BufRead .sharedrc set syntax=perl " Jump to the main window. autocmd VimEnter wincmd p

" ---------- " REMAPS " ---------- nnoremap :FuzzyOpen noremap s :w

filetype plugin indent on

" -------- " Airline " -------- let g:airline_powerline_fonts = 1

syntax on set termguicolors

" Visual Mode Orange Background, Black Text hi Visual guifg=#000000 guibg=#FD971F

" Default Colors for CursorLine highlight CursorLine guibg=#3E3D32 highlight Cursor guibg=#A6E22E;

" Change Color when entering Insert Mode autocmd InsertEnter highlight CursorLine guibg=#323D3E autocmd InsertEnter highlight Cursor guibg=#00AAFF;

" Revert Color to default when leaving Insert Mode autocmd InsertLeave highlight CursorLine guibg=#3E3D32 autocmd InsertLeave highlight Cursor guibg=#A6E22E;

colorscheme monokai syntax enable

cloudhead commented 6 years ago

So what appears to be happening is that FuzzyOpen is being passed some argument that is computed by some terminal, and failing. If you type :FuzzyOpen asdasd you'll see a similar error.

I'm not sure why this is happening though.. You can try if :FuzzyOpen . works.

1ak31sha commented 6 years ago

i was able to solve the issue. this line somehow made it into my rc file. stty -ixon