Thursday, September 21, 2023

vim expanded tab OFF!!!

:set noet

turns off that pesky softab ughhhh so annoying

trying to follow this tutorial and it was giving me troubles

luke smiths slide show script breaks if you have spaces instead of tabs.

my vimrc was set with softtabs

most of the time i like it because it keeps things consistant

without it i think you could go insane trying to debug python

my vim rc

call plug#begin('~/.vim/plugged')
Plug 'itchyny/lightline.vim'
Plug 'vimwiki/vimwiki'
Plug 'plasticboy/vim-markdown'
Plug 'sfztools/sfz.vim'
Plug 'https://github.com/sainnhe/sonokai'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-fugitive'
Plug 'mattn/emmet-vim'
Plug 'ap/vim-css-color'
Plug '907th/vim-auto-save'
call plug#end()

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=','