코딩Coding/VisualStudioCode_IDE사용_Extensions

VS❤️Visual Studio Vim mode세팅하기

내인생PLUS 2023. 5. 7. 23:02
728x90

https://learn.microsoft.com/en-us/answers/questions/948417/vim-setup-with-visual-studio

Vim setup with Visual Studio - Microsoft Q&A

It's been a while since I am using VIM with VS Code. But my current project requires the use of Visual Studio. While setting vim for vs code I have modified my settings.json and keybindings.json files. How do apply that kinds of modifications in Visual…

learn.microsoft.com

 
 
 
 
https://github.com/VsVim/VsVim/issues/2989

Manual Vim Configuration · Issue #2989 · VsVim/VsVim

While setting vim for vs code I have modified my settings.json and keybindings.json files. How do apply that kinds of modifications in Visual Studio 2022? Following are two files from vscode. setti...

github.com

 
 
 
 
 
https://github.com/VsVim/VsVim

GitHub - VsVim/VsVim: Vim Emulator Plugin for Visual Studio 2015+

Vim Emulator Plugin for Visual Studio 2015+ . Contribute to VsVim/VsVim development by creating an account on GitHub.

github.com

 
Visual Studio 2022 는 이걸로 설치해야하는듯
 
https://github.com/brianschmitt/relativenumber

GitHub - brianschmitt/relativenumber: Adds VIM Relative numbers to Visual Studio for use with VSVim

Adds VIM Relative numbers to Visual Studio for use with VSVim - GitHub - brianschmitt/relativenumber: Adds VIM Relative numbers to Visual Studio for use with VSVim

github.com

 
 
 
 
relative number setting 필수
https://marketplace.visualstudio.com/items?itemName=ZoltanKlinger.RelativeLineNumbers 

RelativeLineNumbers - Visual Studio Marketplace

Extension for Visual Studio - Displays line numbers relative to the current cursor position. Useful for ViEmu and VsVim extension users.

marketplace.visualstudio.com

 
 

Relative Line Numbers
This extension displays line numbers relative to the current cursor position.
Useful for ViEmu and VsVim extension users. Relative Line Numbers help you use
the count you can precede some vertical motion commands (e.g. j k + -)
with, without having to calculate  it yourself. Especially useful in combination
with other commands (e.g. y d c < > gq gw =).



Enable/Disable absolute line number on current cursor line:
  • Tools -> Options -> Relative Line Numbers -> Cursor Line Number -> Show absolute line number -> True/False
Customize fonts and colours:
  •  Tools -> Options -> Fonts and Colors -> Relative Line Numbers
  •  Tools -> Options -> Fonts and Colors -> Relative Line Numbers Cursor Line

 
 

:set number rnu
:set nu rnu


 그냥 이걸로 설정함
 
 
출처 : 
https://teamsmiley.github.io/2016/06/23/visual-studio-using-vi/

https://teamsmiley.github.io/2016/06/23/visual-studio-using-vi/

Visual-Studio에서-VI를-써보자 요즘 마우스를 사용하지않고 코딩하는것에 매진하고 있다. 그중 하나로 코딩시 vi를 사용해보려고 한다.. vsvim extension 설치 VIM emulation layer for Visual Studio 에서 설치한다

teamsmiley.github.io

 
 
 
 
 


 

 path로 경로 찾고 .vsvimrc파일 만들어서 해결함
굿

 내 세팅
Visual Studio Vim세팅하기 Vim 세팅폴더 찾기 - https://economiceco.tistory.com/m/17649

Visual Studio Vim세팅하기 Vim 세팅폴더 찾기

https://lektion-von-erfolglosigkeit.tistory.com/186 VSvim에서 vimrc 파일 설정하기서론 원래라면 Linux를 설치해서 Unity Script Editor로 vim계열을 사용하려고 했으나 Linux 설치가 조금 실패하기도 했고 Unity가 Ubuntu

economiceco.tistory.com



 
 
 
 
 
 
 


 
 
 
 


 

반응형