java devel
This commit is contained in:
parent
82ce5aafc1
commit
22828ca7cd
4 changed files with 22 additions and 30 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -234,3 +234,4 @@ isync/
|
||||||
notmuch/
|
notmuch/
|
||||||
mathematica/
|
mathematica/
|
||||||
godot/
|
godot/
|
||||||
|
firmadorlibre/
|
||||||
|
|
|
@ -272,8 +272,8 @@
|
||||||
(make-directory "~/.local/share/emacs/ltximg/"))
|
(make-directory "~/.local/share/emacs/ltximg/"))
|
||||||
(setq org-preview-latex-image-directory "~/.local/share/emacs/ltximg/")
|
(setq org-preview-latex-image-directory "~/.local/share/emacs/ltximg/")
|
||||||
|
|
||||||
(setq org-agenda-files (quote ("~/Documents/agenda/archive.org"
|
;; (setq org-agenda-files (quote ("~/Documents/agenda/archive.org"
|
||||||
"~/Documents/agenda/agenda.org")))
|
;; "~/Documents/agenda/agenda.org")))
|
||||||
|
|
||||||
;; --- Keybinds ---
|
;; --- Keybinds ---
|
||||||
(use-package general
|
(use-package general
|
||||||
|
|
31
sway/config
31
sway/config
|
@ -36,16 +36,6 @@ set $browserh firefox-hardened
|
||||||
set $menu ~/.config/scripts/menu/menu "Run:" run | xargs swaymsg exec --
|
set $menu ~/.config/scripts/menu/menu "Run:" run | xargs swaymsg exec --
|
||||||
set $passmgr ~/.config/scripts/sway/swaypass
|
set $passmgr ~/.config/scripts/sway/swaypass
|
||||||
set $passotp ~/.config/scripts/sway/swayotp
|
set $passotp ~/.config/scripts/sway/swayotp
|
||||||
set $volup ~/.config/scripts/volup
|
|
||||||
set $voldown ~/.config/scripts/voldown
|
|
||||||
set $mute ~/.config/scripts/mute
|
|
||||||
set $micup ~/.config/scripts/micup
|
|
||||||
set $micdown ~/.config/scripts/micdown
|
|
||||||
set $micmute ~/.config/scripts/micmute
|
|
||||||
set $brightup ~/.config/scripts/brightup
|
|
||||||
set $brightdown ~/.config/scripts/brightdown
|
|
||||||
set $powermenu ~/.config/scripts/menu/menu-power
|
|
||||||
set $bookmenu ~/.config/scripts/menu/menu-bookmarks
|
|
||||||
# -
|
# -
|
||||||
set $col_fg #fabd2f
|
set $col_fg #fabd2f
|
||||||
set $col_bg #121212
|
set $col_bg #121212
|
||||||
|
@ -61,19 +51,20 @@ bindsym $mod+Shift+o exec $passotp
|
||||||
bindsym $mod+e exec $filemgr
|
bindsym $mod+e exec $filemgr
|
||||||
bindsym $mod+w exec $browser
|
bindsym $mod+w exec $browser
|
||||||
bindsym $mod+Shift+w exec $browserh
|
bindsym $mod+Shift+w exec $browserh
|
||||||
bindsym $mod+b exec $bookmenu
|
bindsym $mod+i exec menu-input
|
||||||
bindsym XF86AudioRaiseVolume exec $volup
|
bindsym $mod+o exec menu-output
|
||||||
bindsym XF86AudioLowerVolume exec $voldown
|
bindsym XF86AudioRaiseVolume exec volup
|
||||||
bindsym XF86AudioMute exec $mute
|
bindsym XF86AudioLowerVolume exec voldown
|
||||||
bindsym Shift+XF86AudioRaiseVolume exec $micup
|
bindsym XF86AudioMute exec mute
|
||||||
bindsym Shift+XF86AudioLowerVolume exec $micdown
|
bindsym Shift+XF86AudioRaiseVolume exec micup
|
||||||
bindsym Shift+XF86AudioMute exec $micmute
|
bindsym Shift+XF86AudioLowerVolume exec micdown
|
||||||
bindsym XF86MonBrightnessUp exec $brightup
|
bindsym Shift+XF86AudioMute exec micmute
|
||||||
bindsym XF86MonBrightnessDown exec $brightdown
|
bindsym XF86MonBrightnessUp exec brightup
|
||||||
|
bindsym XF86MonBrightnessDown exec brightdown
|
||||||
bindsym Print exec grim -g "$(slurp -d)" - | wl-copy
|
bindsym Print exec grim -g "$(slurp -d)" - | wl-copy
|
||||||
# -
|
# -
|
||||||
bindsym $mod+Shift+q reload
|
bindsym $mod+Shift+q reload
|
||||||
bindsym $mod+p exec $powermenu
|
bindsym $mod+p exec menu-power
|
||||||
bindsym $mod+c kill
|
bindsym $mod+c kill
|
||||||
# -
|
# -
|
||||||
bindsym $mod+$left focus left
|
bindsym $mod+$left focus left
|
||||||
|
|
16
vim/vimrc
16
vim/vimrc
|
@ -83,14 +83,6 @@ nnoremap <silent> <Leader>p :call WrapQuickfixPrev()<CR>
|
||||||
nnoremap <leader>m :make<CR><CR>
|
nnoremap <leader>m :make<CR><CR>
|
||||||
nnoremap <F9> :make<CR><CR>
|
nnoremap <F9> :make<CR><CR>
|
||||||
|
|
||||||
function! SetMakeprg()
|
|
||||||
if filereadable('Makefile')
|
|
||||||
set makeprg=make
|
|
||||||
else
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
autocmd VimEnter * call SetMakeprg()
|
|
||||||
|
|
||||||
" c/c++
|
" c/c++
|
||||||
autocmd FileType c :compiler gcc | setlocal makeprg=gcc\ -Wall\ -c\ %
|
autocmd FileType c :compiler gcc | setlocal makeprg=gcc\ -Wall\ -c\ %
|
||||||
autocmd FileType cpp :compiler gcc | setlocal makeprg=g++\ -Wall\ -c\ %
|
autocmd FileType cpp :compiler gcc | setlocal makeprg=g++\ -Wall\ -c\ %
|
||||||
|
@ -102,6 +94,14 @@ autocmd FileType troff noremap <buffer> <C-s> :w<CR> :!grofftex %<CR><CR>
|
||||||
" Python
|
" Python
|
||||||
autocmd FileType python noremap <buffer> <F9> :!python %<CR>
|
autocmd FileType python noremap <buffer> <F9> :!python %<CR>
|
||||||
|
|
||||||
|
function! SetMakeprg()
|
||||||
|
if filereadable('Makefile')
|
||||||
|
set makeprg=make
|
||||||
|
else
|
||||||
|
endif
|
||||||
|
endfunction
|
||||||
|
autocmd VimEnter * call SetMakeprg()
|
||||||
|
|
||||||
" Functions
|
" Functions
|
||||||
|
|
||||||
"Open a shell on a vertical split
|
"Open a shell on a vertical split
|
||||||
|
|
Loading…
Reference in a new issue