Compare commits

..

37 commits

Author SHA1 Message Date
3ee7c2e599 Makefile: cleanup i3 directory 2026-05-30 04:07:47 +02:00
6c74eea252 Makefile: add fzf 2026-05-30 04:07:47 +02:00
ba8a8d22f8 Makefile: cleanup defaults 2026-05-30 04:07:47 +02:00
cb0b5e0b69 Makefile: remove lxappearance 2026-05-30 04:07:47 +02:00
9a611befd9 nvim: remove xkb-switch 2026-05-30 04:07:47 +02:00
89b8f4a28e Makefile: remove xkb-switch 2026-05-30 04:07:47 +02:00
5fd0e1e2f6 Update README.md 2026-05-30 04:07:47 +02:00
1a897d7143 zsh: add zsh-autosuggestions as submodule 2026-05-30 04:07:47 +02:00
3b00e70aab Delete installPackages.sh 2026-05-30 04:07:47 +02:00
708ba4456c Delete apply.sh 2026-05-30 04:07:47 +02:00
87f1234613 i3: move config to .config 2026-05-30 04:07:47 +02:00
120d9a6fc1 i3: delete accidental config 2026-05-30 04:07:47 +02:00
1f51471afb nvim: use default lockfile path 2026-05-30 04:07:47 +02:00
d2f39dd374 nvim: move to .config 2026-05-30 04:07:47 +02:00
186d12012b i3: move config to .config 2026-05-30 04:07:47 +02:00
d5e5f33911 Update README.md 2026-05-30 04:07:47 +02:00
0ae874afc3 Makefile: init 2026-05-30 04:07:47 +02:00
1921a73d54 Update README.md 2026-05-30 04:07:47 +02:00
09fddea8c7 firefox: shuffle the files 2026-05-30 04:07:47 +02:00
4b90c6729c profanity: create profrc 2026-05-30 04:07:47 +02:00
5f252f5b50 profanity: move to .config 2026-05-30 04:07:47 +02:00
967984334b rofi: move to .config 2026-05-30 04:07:47 +02:00
dfefeaedf7 ranger: move to .config 2026-05-30 04:07:47 +02:00
0e4bcfdc5e polybar: move to .config 2026-05-30 04:07:47 +02:00
e1d1a7905e i3: .desktop no more 2026-05-30 04:07:47 +02:00
ecdc5e4352 dunst: move to .config 2026-05-30 04:07:47 +02:00
56746a9eaf kitty: move to .config 2026-05-30 04:07:47 +02:00
0a61f761d5 oomox: obsolete 2026-05-30 04:07:47 +02:00
de7eb87caf zsh: move .zshrc to home 2026-05-30 04:07:47 +02:00
e494152b45 vim: move to home 2026-05-30 04:07:47 +02:00
fe3ce9d543 lynx: move to home 2026-05-30 04:07:47 +02:00
2f9679dd35 Xresources: move to home 2026-05-30 04:07:47 +02:00
2fa78f715e home: add .gitconfig 2026-05-30 04:07:47 +02:00
51a478ea32 nvim: xclip no more 2026-05-30 02:52:00 +02:00
b7b1f2d4df vim: wayland-ready 2026-05-30 02:44:17 +02:00
96c353ef78 vim: trim config 2026-05-30 02:17:03 +02:00
c7532a4957 nvim: grep for dotfiles 2026-05-30 00:56:19 +02:00
3 changed files with 40 additions and 45 deletions

View file

@ -68,7 +68,7 @@ install_i3: install_base install_gui
remove_default_configs:
rm -f ~/.zshrc
rm -f ~/.config/i3/config
rm -fr ~/.config/i3/
apply_configs: remove_default_configs
stow -Rvt ~ home

View file

@ -184,9 +184,8 @@ vim.keymap.set('n', '<leader>l', '<C-i>', { desc = 'Forward' })
-- Copy'n'Paste
vim.keymap.set('v', '<leader>y', '"+y', { desc = 'Cop[y] selection to system clipboard' })
vim.keymap.set('n', '<leader>y', function()
local text = vim.fn.getreg '"'
vim.fn.system('xclip -i -selection clipboard', text)
print 'Copied to system clipboard'
vim.fn.setreg('+', vim.fn.getreg('"'))
print('Copied to system clipboard')
end, {
silent = true,
desc = 'Copy last [y]anked or deleted text to system clipboard',
@ -352,6 +351,7 @@ require('lazy').setup({
.. ' --line-number'
.. ' --max-columns=512'
.. ' --smart-case'
.. ' --hidden'
.. ' --vimgrep',
file_ignore_patterns = {
'^node_modules/',

View file

@ -1,29 +1,3 @@
""" Common
set encoding=utf-8
set nocompatible
set mouse=a
set scrolloff=0
set number
set fillchars=eob:\ " No more ~
set nowrap
set autoindent
set expandtab
set smarttab
set tabstop=2
set shiftwidth=2
let mapleader = ' '
set ttimeoutlen=10
nnoremap <SPACE> <Nop>
nnoremap <Esc> :nohl<CR>
filetype plugin indent on
""" Plugins
" :PlugInstall
if empty(glob('~/.vim/autoload/plug.vim'))
@ -36,8 +10,26 @@
Plug 'widatama/vim-phoenix'
call plug#end()
""" Common
set mouse=a
set nowrap
set autoindent
set expandtab
set tabstop=2
set shiftwidth=2
filetype plugin indent on
let mapleader = ' '
nnoremap <SPACE> <Nop>
nnoremap <silent> <Esc> :nohlsearch<CR>
""" Appearance
set number
set fillchars=eob:\ "
colorscheme phoenix
PhoenixOrange
@ -49,35 +41,38 @@
""" Statusline
hi StatusLine ctermbg=none ctermfg=white cterm=bold
set noshowmode
set laststatus=2
hi StatusLine ctermbg=none ctermfg=white cterm=bold
hi StatusLineDim ctermbg=none ctermfg=gray cterm=bold
set statusline=
set statusline+=%#StatusLine#
set statusline+=%{mode()}
set statusline+=\ " Space
set statusline+=%#LineNr#
set statusline+=%y
set statusline+=%#StatusLine#
set statusline+=[%{mode()}]
set statusline+=\ %f
set statusline+=\ %m
set statusline+=%=
set statusline+=%#LineNr#
set statusline+=%{&fileformat}
set statusline+=%#StatusLineDim#
set statusline+=\ %{&fileencoding?&fileencoding:&encoding}
set statusline+=\ %{&fileformat}
set statusline+=\ %y
set statusline+=%#StatusLine#
set statusline+=\ %l:%c
set statusline+=\ %p%%
set statusline+=\ %l:%c
""" Copy'n'paste
nnoremap <silent><leader>y :call system('xclip -i -selection clipboard', @@)<cr>
vnoremap <silent><leader>y y:call system('xclip -i -selection clipboard', @@)<cr>
function! PushToClipboard()
if !empty($WAYLAND_DISPLAY)
call system('wl-copy', @")
else
call system('xclip -i -selection clipboard', @")
endif
endfunction
nnoremap <silent><leader>y :call PushToClipboard()<CR>
vnoremap <silent><leader>y y:call PushToClipboard()<CR>