Switching to minimalism
vimrc: Using only the essential plugins .bash_profile: Using uim for multilingual input, which gets loaded in bash_profile i3config and picom config: Changed font size in i3 config Added transparency for commandline dictionary in picom Signed-off-by: Dhanus M Lal <dhanusmlal@gmail.com>
This commit is contained in:
@@ -6,5 +6,10 @@
|
||||
|
||||
if [ $(basename $(exec tty)) == tty1 ]
|
||||
then
|
||||
export GTK_IM_MODULE='uim'
|
||||
export QT_IM_MODULE='uim'
|
||||
uim-xim &
|
||||
export XMODIFIERS='@im=uim'
|
||||
|
||||
exec startx >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
commit-message
|
||||
68
.vimrc
68
.vimrc
@@ -1,26 +1,52 @@
|
||||
"file created by dhanus on 21-July-2021
|
||||
syntax on
|
||||
set nu rnu
|
||||
set clipboard=unnamedplus
|
||||
set encoding=utf-8
|
||||
set tabstop=4 softtabstop=4
|
||||
let mapleader = " "
|
||||
inoremap jk <esc>
|
||||
nnoremap <leader>l <c-w>l
|
||||
nnoremap <leader>h <c-w>h
|
||||
nnoremap <leader>j <c-w>j
|
||||
nnoremap <leader>k <c-w>k
|
||||
nnoremap <leader>sv :source $MYVIMRC<cr>
|
||||
nnoremap <leader>ev :edit $MYVIMRC<cr>
|
||||
|
||||
set laststatus=2
|
||||
set relativenumber number
|
||||
set expandtab
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set autoindent
|
||||
set incsearch
|
||||
|
||||
set statusline=%f
|
||||
set statusline+=\ %y
|
||||
set statusline+=%=
|
||||
set statusline+=C:%c\
|
||||
set statusline+=L:%l/%L\
|
||||
set statusline+=%p%%
|
||||
|
||||
" Vimscript file settings ------------- {{{
|
||||
augroup filetype_vim
|
||||
autocmd!
|
||||
autocmd FileType vim setlocal foldmethod=marker
|
||||
augroup END
|
||||
" }}}
|
||||
|
||||
"set statusline+="=%{wordcount().words}\ words"
|
||||
autocmd FileType tex setlocal statusline+="=%{wordcount().words}\ words"
|
||||
autocmd FileType text setlocal statusline+="=%{wordcount().words}\ words"
|
||||
autocmd FileType markdown setlocal statusline+="=%{wordcount().words}\ words"
|
||||
|
||||
nnoremap <leader>n :NerdTreeToggle<cr>
|
||||
nnoremap <leader>doc :YcmCompleter GetDoc<cr>
|
||||
nnoremap <leader>f :NERDTreeToggle<cr>
|
||||
nnoremap <leader>def :YcmCompleter GoToDefinition<cr>
|
||||
nnoremap <C-t> :!(alacritty --working-directory $(pwd) & disown) <CR><CR>
|
||||
noremap <C-c> :!pdflatex main.tex<CR><CR>
|
||||
noremap <C-p> :!zathura main.pdf & disown <cr><cr>
|
||||
colorscheme torte
|
||||
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug '/vim-airline/vim-airline-themes'
|
||||
Plug 'Raimondi/delimitMate'
|
||||
Plug 'vim-syntastic/syntastic'
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'ycm-core/YouCompleteMe'
|
||||
Plug 'ycm-core/YouCompleteMe'
|
||||
Plug 'Raimondi/delimitMate'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'preservim/NerdTree'
|
||||
call plug#end()
|
||||
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline_powerline_fonts = 1
|
||||
|
||||
map <C-c> :!pdflatex main.tex<CR><CR>
|
||||
map <C-p> :!zathura main.pdf & disown<CR><CR>
|
||||
map <C-t> :!(alacritty --working-directory $(pwd) & disown) <CR><CR>
|
||||
|
||||
@@ -22,7 +22,7 @@ set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:monospace 8
|
||||
font pango:monospace 5
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
|
||||
@@ -136,7 +136,9 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
opacity-rule = ["90:class_g = 'Alacritty' && focused",
|
||||
"80:class_g = 'Alacritty' && !focused",
|
||||
"70:class_g = 'ncmpcpp' && focused",
|
||||
"60:class_g = 'ncmpcpp' && !focused"];
|
||||
"60:class_g = 'ncmpcpp' && !focused",
|
||||
"80:class_g = 'dict' && focused",
|
||||
"70:class_g = 'dict' && !focused"];
|
||||
# opacity-rule = []
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user