Last active
February 25, 2022 07:20
-
-
Save devlights/1a16cd5b551fe4e76ae941abb658b893 to your computer and use it in GitHub Desktop.
.vimrc & .gvimrc (minimum)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Height | |
set lines=40 | |
" Width | |
set columns=150 | |
" Background | |
set background=dark | |
" Font | |
" - https://github.com/yuru7/HackGen | |
set guifont=HackGenNerd:h14 | |
" No menu and toolbar | |
" - https://stackoverflow.com/questions/13525518/how-to-hide-the-menu-tool-bar-of-gvim/13525565 | |
set guioptions-=m | |
set guioptions-=T | |
" Color scheme | |
" - https://alvinalexander.com/blog/post/linux-unix/how-set-vim-gvim-default-color-scheme/ | |
colorscheme desert |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
syntax on | |
filetype plugin indent on | |
runtime macros/matchit.vim | |
set encoding=utf-8 | |
set fileencodings=utf-8,sjis,euc-jp,iso-2022-jp | |
set fileformats=unix,dos,mac | |
set number | |
set ruler | |
set showcmd | |
set showmode | |
set showmatch | |
set laststatus=2 | |
set background=dark | |
set autoread | |
set nobackup | |
set noswapfile | |
set ignorecase | |
set smartcase | |
set incsearch | |
set hlsearch | |
set wrapscan | |
" https://qiita.com/m-yamashita/items/5755ca2717c8d5be57e4 | |
set magic | |
nmap / /\v | |
set nolist | |
set autoindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set noexpandtab | |
set mouse=a | |
set clipboard+=autoselect | |
set clipboard+=unnamed | |
set clipboard+=unnamedplus | |
set path+=** | |
" Change terminal shell (Windows) | |
" - https://vi.stackexchange.com/a/14934 | |
if has("win32") | |
set shell=pwsh | |
endif | |
" vim-plug | |
" | |
" see: https://github.com/junegunn/vim-plug#installation | |
call plug#begin() | |
Plug 'vim-jp/vimdoc-ja' | |
call plug#end() | |
" https://github.com/vim-jp/vimdoc-ja/wiki | |
set helplang=ja,en |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment