mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-27 03:39:20 +09:00
add neovim
This commit is contained in:
parent
43139557af
commit
e313f19269
2 changed files with 32 additions and 1 deletions
16
dotfiles/neovim/init.vim
Normal file
16
dotfiles/neovim/init.vim
Normal file
|
@ -0,0 +1,16 @@
|
|||
set number
|
||||
set relativenumber
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set autoindent
|
||||
set mouse=a
|
||||
colorscheme default
|
||||
|
||||
if has('win32')
|
||||
let &shell = executable('pwsh') ? 'pwsh' : 'powershell'
|
||||
let &shellcmdflag = '-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;'
|
||||
let &shellredir = '-RedirectStandardOutput %s -NoNewWindow -Wait'
|
||||
let &shellpipe = '2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode'
|
||||
set shellquote= shellxquote=
|
||||
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue