Created
April 5, 2020 00:22
-
-
Save thomaswilley/c0149fc23968cd2a2d64d0a3432c6b9c to your computer and use it in GitHub Desktop.
wsl vimrc
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
inoremap kj <Esc> | |
syntax enable | |
let g:solarized_termcolors=16 | |
set t_Co=16 | |
set background=light | |
colorscheme solarized | |
set lines=40 | |
set columns=80 | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set autoindent | |
set smarttab | |
filetype indent on | |
filetype on | |
filetype plugin on | |
autocmd StdinReadPre * let s:std_in=1 | |
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | |
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") && v:this_session == "" | NERDTree | endif | |
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | exe 'cd '.argv()[0] | endif | |
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | |
let g:NERDTreeDirArrowExpandable = '' | |
let g:NERDTreeDirArrowCollapsible = '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
then in terminal app. lower left corner "open JSON". locate default profile by guid. Edit to adjust opacity, bg blur (acrylic), font.
example: {
"guid": "{.....}",
"hidden": false,
"name": "Debian",
"source": "Windows.Terminal.Wsl",
"font": { "face": "Consolas" },
"opacity": 96,
"useAcrylic": false
},