Monday, August 21, 2023

a-shell mini vim setup

a-shell can run vim!!


  • put .vimrc in ~/documents
  • vimplug doesn’t work you gotta install them manually
  • git doensn’t work properly instead you use lg2
  • path to install plugins is ~/documents/.vim/pack/*/start/
  • pickFolder is the command to select a folder
  • lg2 clone https://github.com/theplugin
https://github.com/tpope/vim-surround
https://github.com/jiangmiao/auto-pairs
https://github.com/ap/vim-css-color
https://github.com/vimwiki/vimwiki
https://github.com/907th/vim-auto-save
https://github.com/mattn/emmet-vim
https://github.com/plasticboy/vim-markdown
set background=dark
syntax enable
set nobackup
set nowb
set noswapfile
set number
set autoread
set wildmenu
set ffs=unix,dos,mac
set encoding=utf8
set showmatch
set backspace=eol,start,indent
set autoread
set wrap
set si
set ai
filetype plugin on
filetype indent on
set tabstop=4
set shiftwidth=4
set smarttab
set expandtab
set nocompatible
filetype plugin on
set autowriteall
set laststatus=2
" Emmet shortcuts
let g:user_emmet_mode='n'
let g:user_emmet_leader_key=','

No comments:

Post a Comment