Comments (9)
Solved! Thank you!
from vim-fern-git-status.
What is your Vim/Neovim/OS version and how did you try?
from vim-fern-git-status.
I tried on Vim 8.2, Neovim 0.4.4 and Neovim nightly with a minimal vimrc. Then I entered a directory and modified a file, no signs showed on fern buffer. My OS is Win10 20H2. The minimal vimrc is below:
call plug#begin()
Plug 'lambdalisue/fern.vim'
Plug 'lambdalisue/fern-git-status.vim'
call plug#end()
if has('vim_starting')
set nocompatible
endif
filetype plugin indent on
syntax on
let g:mapleader="\<Space>"
" Fern
function! s:init_fern() abort
setlocal nonu
nmap <buffer><expr>
\ <Plug>(fern-my-open-or-expand-or-collapse)
\ fern#smart#leaf(
\ "\<Plug>(fern-action-open)",
\ "\<Plug>(fern-action-expand:stay)",
\ "\<Plug>(fern-action-collapse)",
\ )
nmap <buffer><silent> e <Plug>(fern-action-open:tabedit)
nmap <buffer><silent> o <Plug>(fern-my-open-or-expand-or-collapse)
nmap <buffer><silent> go <Plug>(fern-action-open:edit)<C-w>p
nmap <buffer><silent> t <Plug>(fern-action-open:tabedit)
nmap <buffer><silent> T <Plug>(fern-action-open:tabedit)gT
nmap <buffer><silent> ma <Plug>(fern-action-new-path)
nmap <buffer><silent> mc <Plug>(fern-action-copy)
nmap <buffer><silent> md <Plug>(fern-action-trash)
nmap <buffer><silent> mm <Plug>(fern-action-move)
nmap <buffer><silent> mr <Plug>(fern-action-rename)
nmap <buffer><silent> cc <Plug>(fern-action-clipboard-copy)
nmap <buffer><silent> cp <Plug>(fern-action-clipboard-paste)
nmap <buffer><silent> cm <Plug>(fern-action-clipboard-move)
nmap <buffer><silent> cr <Plug>(fern-action-clipboard-clear)
nmap <buffer><silent> l <Plug>(fern-action-enter)
nmap <buffer><silent> h <Plug>(fern-action-leave)
nmap <buffer><silent> r <Plug>(fern-action-reload)
nmap <buffer><silent> x <Plug>(fern-action-collapse)
nmap <buffer><silent> R gg<Plug>(fern-action-reload)<C-o>
nmap <buffer><silent> cd <Plug>(fern-action-tcd:cursor)
nmap <buffer><silent> CD <Cmd>Fern . -drawer -keep<CR>
nmap <buffer><silent> - <Plug>(fern-action-mark:toggle)
nmap <buffer><silent> _ <Plug>(fern-action-mark:clear)
nmap <buffer><silent> I <Plug>(fern-action-hidden:toggle)
nmap <buffer><silent> q <Cmd>quit<CR>
endfunction
augroup fern-custom
autocmd! *
autocmd FileType fern call s:init_fern()
augroup END
nnoremap <silent> <Leader>e <Cmd>Fern . -drawer -keep -toggle<CR>
I modeified "vimrc", but nothing happended.
from vim-fern-git-status.
Is git
command accessible from your GVim? Confirm it by
:echo executable('git')
from vim-fern-git-status.
Is
git
command accessible from your GVim? Confirm it by:echo executable('git')
Yes, it prints "1".
from vim-fern-git-status.
Do you see anything when you hit :message
? I don't have Windows + Git + Fern environment thus it's a bit difficult to debug .
from vim-fern-git-status.
Do you see anything when you hit
:message
? I don't have Windows + Git + Fern environment thus it's a bit difficult to debug .
I hit :messages
, output is below:
Translate it in English:Simplified Chinese message maintainer:Yuheng Xie <[email protected]>
. It seems not helpful...
from vim-fern-git-status.
I've asked other users who use Windows as well and they don't see the columns as well so it seems there are bug on Windows.
from vim-fern-git-status.
from vim-fern-git-status.
Related Issues (17)
- Folders with changes, modified should override untracked/ignored HOT 3
- assets
- Performance issue when there is ignored directory which has tons of contents (e.g. node_modules) HOT 24
- It would be nice to have `<Plug>(fern-action-git-status-toggle)` mapping HOT 3
- Custom styling instead of `[!!]`, `[ M]`, `[??]`, `[--]` HOT 6
- Performance tip: recommend `git config feature.manyFiles true` for large repositories HOT 4
- [Question] Is it possible to show the status before the file/directory name? HOT 4
- how do I install with vim-plug? HOT 2
- Does not work with msys2 git HOT 2
- Throws error on every start of `:Fern` HOT 1
- Error detected while processing VimEnter Autocommands for "*"..script /Users/xxx/.vim/vim-plug-in/fern-git-status.vim/autoload HOT 1
- Colors HOT 1
- Allow hiding git ignored files/directories HOT 1
- Add Icons HOT 1
- Colouring when first opening neovim HOT 1
- Windows msys2 not work HOT 1
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-fern-git-status.