1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

First commit

This commit is contained in:
jdhao 2019-04-25 23:34:50 +08:00
parent 154958e50c
commit 548834ccb6
5 changed files with 1834 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
tags

6
README.md Normal file
View File

@ -0,0 +1,6 @@
![](images/demo_look.jpg)
# Introduction
This is my Neovim configuration for all the platforms I use. `init.vim` is for
terminal Neovim and `ginit.vim` is for neovim-qt on Windows.

17
ginit.vim Normal file
View File

@ -0,0 +1,17 @@
" call GuiWindowMaximized(1)
GuiPopupmenu 0
GuiTabline 0
GuiLinespace 1
GuiFont! Hack:h10:l
" to check if gui is running, use `exists('g:GuiLoaded')`,
" see https://github.com/equalsraf/neovim-qt/issues/219
if exists('g:GuiLoaded')
" use shift+insert for paste in neovim-qt
" see https://github.com/equalsraf/neovim-qt/issues/327#issuecomment-325660764
imap <silent> <S-Insert> <C-R>+
cmap <silent> <S-Insert> <C-R>+
" For Windows, Ctrl-6 does not work. So we use this mapping instead.
nmap <C-6> <C-^>
endif

BIN
images/demo_look.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

1810
init.vim Normal file

File diff suppressed because it is too large Load Diff