Skip to content

Instantly share code, notes, and snippets.

@hatoba29
Last active January 2, 2024 04:46
Show Gist options
  • Save hatoba29/f3b4ba847cf5aa4f1f7047ddbae42b77 to your computer and use it in GitHub Desktop.
Save hatoba29/f3b4ba847cf5aa4f1f7047ddbae42b77 to your computer and use it in GitHub Desktop.
neovim settings
"""
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
"""
call plug#begin('~/.vim/plugged')
Plug 'joshdick/onedark.vim'
Plug 'sheerun/vim-polyglot'
Plug 'itchyny/lightline.vim'
call plug#end()
syntax on
colorscheme onedark
if (empty($TMUX))
if (has("nvim"))
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
if (has("termguicolors"))
set termguicolors
endif
endif
set noshowmode
set smartindent
set tabstop=2
set shiftwidth=2
set expandtab
set paste
set mouse=a
autocmd VimLeave * set guicursor=a:ver1-blinkon0
let g:lightline = {
\ 'colorscheme': 'one',
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment