VsVim
VsVim copied to clipboard
when on NORMAL mode, there's no Normal string indicator like visual mode
Describe the bug
A clear and concise description of what the bug is.
when on NORMAL mode, there's no -- NORMAL -- string indicator like visual mode -- VISUAL --
To Reproduce Steps to reproduce the behavior:
- open vs2022
- open a file and make sure the mouse is focused on a file
Expected behavior
A clear and concise description of what you expected to happen.
When on normal mode, we should show a string at the left bottom corner saying -- NORMAL --
Screenshots If applicable, add screenshots to help explain your problem.

The above corner should show -- NORMAL -- string.
Environment (please complete the following information):
- Visual Studio version: 2022
- VsVim version: 2.10.0.5
- Programming Language: csharp
- Check(Type 'x') any that are installed:
- [ ] ReSharper
- [ ] Visual Assist
Additional context Add any other context about the problem here.
Note: The following is written about contributing. https://github.com/VsVim/VsVim/blob/master/CONTRIBUTING.md
General Keyboard configuration problems are described below. https://github.com/VsVim/VsVim/issues/2527
VsVim is emulating vim behavior and by default there is no normal mode indicator. Consider gVim on my machine.
Is there a setting I'm unaware of that ads this?
Hi @jaredpar thanks for the reply! Thanks for the nice project as well!
you are right! In vim I need to do set statusline=%!mode() to get the above working... not sure if we go the mode() function VsVim.
Another issue is, at the output window of VsVim, I'm seeing VsVim Error Status End but I don't understand what the meaning of VsVim Error Status... can you please point to me the doc or code for it?

you are right! In vim I need to do set statusline=%!mode() to get the above working... not sure if we go the mode() function VsVim.
No mode() is not supported yet.
Another issue is, at the output window of VsVim, I'm seeing VsVim Error Status End but I don't understand what the meaning of VsVim Error Status... can you please point to me the doc or code for it?
That is output from the trace tool I have in the code. I can't tell at a glance where that error is coming from although I suspect it's from parsing your vimrc file. Can you post the entire text of that window somewhere that I can look at?
Here's the full text from my output window of vsvim: https://gist.github.com/ianzhang366/e46151b08560587fbce0e40ec53186a2
if you need log, please let me know how to get it.
If I do shift-v with 4 lines with yank, the output window would generate:
VsVim Error Status Start
4 lines yanked
VsVim Error Status End
my vimrc is:
set cursorline
set clipboard=unnamed
set ignorecase
set smartcase
set showcmd
let mapleader = ","
nmap <leader>w :w!<cr>
inoremap jj <Esc>
nmap <leader>r :vsc Edit.FindAllReferences<CR>
"comment
:vnoremap <leader>cc :s/^/\/\/<cr>
:nnoremap <leader>cc :s/^/\/\/<cr>
:vnoremap <leader>cu :s/\/\//<cr>
:nnoremap <leader>cu :s/\/\//<cr>
" cut
vnoremap <C-x> :vsc Edit.Cut<cr>
nnoremap <C-x> :vsc Edit.LineCut<cr>
" <C-P>
nnoremap <C-P> :vsc Edit.ParameterInfo<cr>
inoremap <C-P> <C-o>:vsc Edit.ParameterInfo<cr>
" as mouse clicked
nnoremap <leader>gd :vsc Edit.GoToDeclaration <C-r><C-w><cr>
inoremap <leader>gd <ESC>:vsc Edit.GoToDeclaration <C-r><C-w><cr>
" back
nnoremap <leader>gb :vsc View.NavigateBackward<CR>
" forward
nnoremap <leader>fw :vsc View.NavigateForward<cr>
" <C-A-L> format
nnoremap <leader>fm :vsc Edit.FormatDocument<CR>
vnoremap <leader>fm :vsc Edit.FormatSelection<CR>
" built in search looks better
nnoremap <C-f> :vsc Edit.FindinFiles<cr>
" <C-R>
nnoremap <C-r> :vsc Redo<CR>
" open folder
nnoremap <leader>ex :vsc File.OpenContainingFolder<cr>