various updates
This commit is contained in:
parent
cca3b633b6
commit
14e5ec9e92
15 changed files with 1262 additions and 253 deletions
17
.Xdefaults
17
.Xdefaults
|
|
@ -23,17 +23,22 @@ XTerm*termName: xterm-256color
|
|||
!!green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60
|
||||
|
||||
! URxvt*font: *-fixed-*-*-*-18-*
|
||||
URxvt.font: xft:bitstream vera sans mono:size=12:antialias=true
|
||||
! URxvt.font: xft:bitstream vera sans mono:size=10:antialias=true
|
||||
URxvt.font: xft:MesloLGS NF:style=Regular:size=10:antialias=true
|
||||
XTerm.font: xft:MesloLGS NF:style=Regular:size=10:antialias=true
|
||||
|
||||
! XTerm*background: Black
|
||||
XTerm*background: #000000
|
||||
XTerm*foreground: #93a1a1
|
||||
XTerm*color4: DodgerBlue
|
||||
XTerm*color12: DodgerBlue
|
||||
|
||||
URxvt*background: #2b2b2b
|
||||
! URxvt*background: #2b2b2b
|
||||
URxvt*background: #1c1c1c
|
||||
URxvt*foreground: #d4cfc9
|
||||
! Black + DarkGrey
|
||||
URxvt*color0: #2b2b2b
|
||||
! URxvt*color0: #2b2b2b
|
||||
URxvt*color0: #000000
|
||||
URxvt*color8: #5a647e
|
||||
! DarkRed + Red
|
||||
URxvt*color1: #c93828
|
||||
|
|
@ -66,9 +71,13 @@ URxvt.perl-ext-common: default,matcher
|
|||
URxvt.urlLauncher: gvim
|
||||
URxvt.matcher.button: 1
|
||||
URxvt.matcher.pattern.1: \\B(/\\S+?):(\\d+)
|
||||
URxvt.matcher.launcher.1: gvim --servername IDE --remote +$2 $1
|
||||
URxvt.matcher.launcher.1:gvim --servername IDE --remote +$2 $1
|
||||
! URxvt.matcher.launcher.1:gvim --servername IDE --remote +$2 $1
|
||||
URxvt.matcher.pattern.2: \\B(/\\S+?\\.py)\\S{2}\\sline\\s(\\d+)
|
||||
URxvt.matcher.launcher.2: gvim --servername IDE --remote +$2 $1
|
||||
URxvt.matcher.pattern.3: \\B(\\./\\S+?):(\\d+)
|
||||
URxvt.matcher.launcher.3:gvim --servername IDE --remote +$2 $1
|
||||
! URxvt.matcher.launcher.3:gvim --servername IDE --remote +$2 $1
|
||||
|
||||
Xft.lcdfilter: lcddefault
|
||||
Xft.hintstyle: hintslight
|
||||
|
|
|
|||
14
.Xresources
14
.Xresources
|
|
@ -22,15 +22,19 @@ XTerm*termName: xterm-256color
|
|||
!!cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63
|
||||
!!green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60
|
||||
|
||||
XTerm*background: #002b36
|
||||
! XTerm*background: #002b36
|
||||
! XTerm*background: #4e4e4e
|
||||
XTerm*background: #000000
|
||||
XTerm*foreground: #93a1a1
|
||||
XTerm*color4: DodgerBlue
|
||||
XTerm*color12: DodgerBlue
|
||||
|
||||
URxvt*background: #002b36
|
||||
URxvt*foreground: #93a1a1
|
||||
URxvt*color4: DodgerBlue
|
||||
URxvt*color12: DodgerBlue
|
||||
! URxvt*background: #002b36
|
||||
!URxvt*background: #4e4e4e
|
||||
!URxvt*foreground: #93a1a1
|
||||
!URxvt*color4: DodgerBlue
|
||||
!URxvt*color12: DodgerBlue
|
||||
URxvt.scrollBar: false
|
||||
|
||||
Xft.lcdfilter: lcddefault
|
||||
Xft.hintstyle: hintslight
|
||||
|
|
|
|||
53
.bashrc
53
.bashrc
|
|
@ -47,9 +47,9 @@ function myip()
|
|||
alias xcopy="xclip -i -selection clipboard"
|
||||
|
||||
# baskcup shortcuts
|
||||
alias rcp='rsync -avz --ignore-existing --progress --rsh "ssh -l nojhan" '
|
||||
alias rcp_443='rsync -avz --ignore-existing --progress --rsh "ssh -p 443 -l nojhan" '
|
||||
alias rcp_80='rsync -avz --ignore-existing --progress --rsh "ssh -p 80 -l nojhan" '
|
||||
alias rcp='rsync -avz --ignore-existing --progress --rsh "ssh" '
|
||||
alias rcp_443='rsync -avz --ignore-existing --progress --rsh "ssh -p 443" '
|
||||
alias rcp_80='rsync -avz --ignore-existing --progress --rsh "ssh -p 80" '
|
||||
|
||||
|
||||
###################
|
||||
|
|
@ -131,24 +131,25 @@ alias ms='ls'
|
|||
|
||||
export PATH="$PATH:$HOME/.cargo/bin"
|
||||
exadef="--icons --modified --git"
|
||||
exal="--long --all --group --modified --header --level 2"
|
||||
exal="--long --all --group --modified --header --level 2 --time-style=long-iso --binary"
|
||||
alias ls='exa ${exadef}' # add colors for filetype recognition
|
||||
alias l='exa ${exadef} -1'
|
||||
alias l='exa ${exadef} -1 --no-icons'
|
||||
alias la='exa ${exadef} --all' # show hidden files
|
||||
alias lx='exa ${exadef} ${exal} --sort extension' # sort by extension
|
||||
alias lk='exa ${exadef} ${exal} --sort size' # sort by size
|
||||
alias lk='exa ${exadef} ${exal} --sort size --reverse' # sort by size
|
||||
alias lc='exa ${exadef} ${exal} --sort modified' # sort by change time
|
||||
alias lm='exa ${exadef} ${exal} --sort=modified --reverse'
|
||||
alias lu='exa ${exadef} ${exal} --sort accessed' # sort by access time
|
||||
alias lt='exa ${exadef} ${exal} --sort created' # sort by date
|
||||
alias lr='exa ${exadef} ${exal} --recurse' # recursive ls
|
||||
alias lm='exa ${exadef} ${exal} | kak' # pipe through editor
|
||||
alias le='exa ${exadef} ${exal} | kak' # pipe through editor
|
||||
alias ll='exa ${exadef} ${exal}'
|
||||
alias tree='exa ${xadef} ${exal} --tree' # nice alternative to 'ls'
|
||||
|
||||
# changes the default head/tail behaviour to output x lines,
|
||||
# where x is the number of lines currently displayed on your terminal
|
||||
alias head='head -n $((${LINES:-`tput lines 2>/dev/null||echo -n 12`} - 2))'
|
||||
alias tail='tail -n $((${LINES:-`tput lines 2>/dev/null||echo -n 12`} - 2))'
|
||||
alias head='head -n $((${LINES:-`tput lines 2>/dev/null||echo -n 12`} - 15))'
|
||||
alias tail='tail -n $((${LINES:-`tput lines 2>/dev/null||echo -n 12`} - 15))'
|
||||
|
||||
# If the output is smaller than the screen height is smaller,
|
||||
# less will just cat it
|
||||
|
|
@ -161,6 +162,8 @@ export LESSOPEN='|~/code/dotfiles/lessfilter.sh %s'
|
|||
# nautilus file manager in browser mode without destkop management
|
||||
alias Ex='nautilus --no-desktop --browser .'
|
||||
|
||||
alias k="kanban"
|
||||
|
||||
# Make a directory and move to it
|
||||
function md() {
|
||||
mkdir $1
|
||||
|
|
@ -412,17 +415,36 @@ alias afk="cinnamon-screensaver & cinnamon-screensaver-command -l & xset -displa
|
|||
# Use liquidprompt only if in an interactive shell
|
||||
if [[ $- == *i* ]]; then
|
||||
# Super nice prompt
|
||||
source ~/.liquidprompt --no-activate
|
||||
lp_activate #--no-config
|
||||
DOTMATRIX_VARIANT="chevron"
|
||||
source ~/.liquidprompt
|
||||
if [[ -f ~/code/lp-dotmatrix/dotmatrix.theme ]] ; then
|
||||
source ~/code/lp-dotmatrix/presets/variant-chevron.conf
|
||||
# source ~/code/lp-dotmatrix/presets/colors_dark_high-contrast.conf
|
||||
# DOTMATRIX_LINE="⣀⠔⠉⠢"
|
||||
source ~/code/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix
|
||||
fi
|
||||
fi
|
||||
|
||||
# Use autojump only if in an interactive shell
|
||||
if [[ $- == *i* ]] ; then
|
||||
# Use autojump only if in an interactive shell
|
||||
source /usr/share/autojump/autojump.bash
|
||||
fi
|
||||
|
||||
if [[ $- == *i* ]] ; then
|
||||
for f in /etc/bash_completion.d/* ; do
|
||||
source "$f"
|
||||
done
|
||||
# for f in /usr/share/bash-completion/completions/*; do
|
||||
# source "$f"
|
||||
# done
|
||||
bcp="/usr/share/bash-completion/completions"
|
||||
enabled=("apt" "autossh" "c++" "chmod" "chown" "file-roller" "find" "g++" "git" "gitk" "htop" "inkscape" "iwconfig" "jq" "jsonschema" "kill" "killall" "lftp" "make" "man" "mktemp" "mount" "python" "python3" "pyvenv" "R" "rsync" "sh" "shellcheck" "ssh" "ssh-copy-id" "sudo" "su" "tar" "umount" "useradd" "usermod" "valgrind" "vifm" "wget" "wine")
|
||||
for f in $enabled; do
|
||||
source "$bcp/$f"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
|
||||
export TCLLIBPATH="~/.local/share/tkthemes"
|
||||
|
||||
# Add pip bin dir to path:
|
||||
|
|
@ -456,3 +478,8 @@ function qwatch()
|
|||
fi
|
||||
watch --interval 10 --color "sacct --starttime=$since --format=jobid,state --noheader|grep -v 'ba+'|grep -v 'ex+'|awk '{print \$2}'|sort|uniq -c|sort -n -r|colout -t slurm16"
|
||||
}
|
||||
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
# export TERMINAL="/usr/local/bin/terminator"
|
||||
export TERMINAL="terminator"
|
||||
|
|
|
|||
19
.gdbinit
19
.gdbinit
|
|
@ -1,18 +1,23 @@
|
|||
|
||||
# STL pretty-printers
|
||||
#python
|
||||
#import sys
|
||||
# python
|
||||
# import sys
|
||||
#sys.path.insert(0, '/local/nojhan/CGAL-4.6-beta1/auxiliary/gdb/python/CGAL')
|
||||
#import printers #FIXME
|
||||
#sys.path.insert(0, '')
|
||||
#from libstdcxx.v6.printers import register_libstdcxx_printers
|
||||
#register_libstdcxx_printers (None)
|
||||
#end
|
||||
|
||||
# sys.path.insert(0, '')
|
||||
# from libstdcxx.v6.printers import register_libstdcxx_printers
|
||||
# register_libstdcxx_printers(None)
|
||||
|
||||
# sys.path.insert(0,'/home/nojhan/code/dotfiles/gdb/')
|
||||
# from nlohmannjson import register_json_printer
|
||||
# register_json_printer()
|
||||
# end
|
||||
|
||||
set confirm off
|
||||
|
||||
# Reversed yellow >>>, underlined green frame name, yellow »»»
|
||||
set extended-prompt \[\e[7;33m\]>>>\[\e[0m\]\[\] \[\e[4;32m\]\f\[\e[0m\]\[\]\[\e[0;33m\] \n»»» \[\e[0m\]
|
||||
# set extended-prompt \[\e[7;33m\]>>>\[\e[0m\]\[\] \[\e[4;32m\]\f\[\e[0m\]\[\]\[\e[0;33m\] \n»»» \[\e[0m\]
|
||||
|
||||
|
||||
# Don't wrap line or the coloring regexp won't work.
|
||||
|
|
|
|||
|
|
@ -26,3 +26,9 @@
|
|||
instructionFormat = (%an <%ae>) %s
|
||||
[credential]
|
||||
helper = store
|
||||
[pull]
|
||||
rebase = true
|
||||
[diff "odf"]
|
||||
textconv=odt2txt
|
||||
[diff]
|
||||
algorithm = histogram
|
||||
|
|
|
|||
1131
.gitignore
vendored
1131
.gitignore
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -38,7 +38,7 @@ defbindings("WMPlex.toplevel", {
|
|||
kpress(META.."F2", "mod_query.query_exec(_)"),
|
||||
|
||||
-- nouveau bureau
|
||||
kpress(META.."F3", "mod_query.query_workspace(_)"),
|
||||
kpress(META.."F11", "mod_query.query_workspace(_)"),
|
||||
|
||||
-- firefox
|
||||
kpress(META.."F4", "ioncore.exec_on(_, 'firefox')"),
|
||||
|
|
@ -79,8 +79,8 @@ defbindings("WScreen", {
|
|||
kpress(META.."Next", "ioncore.goto_next_screen()"),
|
||||
|
||||
-- aller au nième écran physique (attention, inversion pour 2e écran à gauche)
|
||||
kpress(META.."Shift+2", "ioncore.goto_nth_screen(0)"),
|
||||
kpress(META.."Shift+1", "ioncore.goto_nth_screen(1)"),
|
||||
kpress(META.."Shift+1", "ioncore.goto_nth_screen(0)"),
|
||||
kpress(META.."Shift+2", "ioncore.goto_nth_screen(1)"),
|
||||
|
||||
-- Aller au cadre suivant/précédent
|
||||
kpress(META.."Right", "ioncore.goto_next(_chld, 'right')", "_chld:non-nil"),
|
||||
|
|
|
|||
|
|
@ -42,45 +42,6 @@ mod_statusbar.create{
|
|||
template="%date %systray_dock systray %workspace_pager %filler %vv_disk_ - %vv_disk_home",
|
||||
}
|
||||
|
||||
-- -- Create a statusbar
|
||||
-- mod_statusbar.create{
|
||||
-- -- First screen, bottom left corner
|
||||
-- screen=1,
|
||||
-- pos='tr',
|
||||
-- -- Set this to true if you want a full-width statusbar
|
||||
-- fullsize=false,
|
||||
-- -- Swallow systray windows
|
||||
-- systray=true,
|
||||
--
|
||||
-- -- Template. Tokens %string are replaced with the value of the
|
||||
-- -- corresponding meter. Currently supported meters are:
|
||||
-- -- date date
|
||||
-- -- load load average (1min, 5min, 15min)
|
||||
-- -- load_Nmin N minute load average (N=1, 5, 15)
|
||||
-- -- mail_new mail count (mbox format file $MAIL)
|
||||
-- -- mail_unread mail count
|
||||
-- -- mail_total mail count
|
||||
-- -- mail_*_new mail count (from an alternate mail folder, see below)
|
||||
-- -- mail_*_unread mail count
|
||||
-- -- mail_*_total mail count
|
||||
-- --
|
||||
-- -- Space preceded by % adds stretchable space for alignment of variable
|
||||
-- -- meter value widths. > before meter name aligns right using this
|
||||
-- -- stretchable space , < left, and | centers.
|
||||
-- -- Meter values may be zero-padded to a width preceding the meter name.
|
||||
-- -- These alignment and padding specifiers and the meter name may be
|
||||
-- -- enclosed in braces {}.
|
||||
-- --
|
||||
-- -- %filler causes things on the marker's sides to be aligned left and
|
||||
-- -- right, respectively, and %systray is a placeholder for system tray
|
||||
-- -- windows and icons.
|
||||
-- --
|
||||
-- --template="[ %date || load:% %>load || mail:% %>mail_new/%>mail_total ] %filler%systray",
|
||||
-- --template=" %filler%systray [ load: % %>load || mail: %>mail_new/%>mail_total || %date ]",
|
||||
-- template="%filler %systray_dock %systray %date",
|
||||
-- }
|
||||
--
|
||||
|
||||
|
||||
-- Launch ion-statusd. This must be done after creating any statusbars
|
||||
-- for necessary statusd modules to be parsed from the templates.
|
||||
|
|
|
|||
|
|
@ -9,3 +9,11 @@ GPS
|
|||
multi
|
||||
CPU
|
||||
multi
|
||||
explicabilité
|
||||
solveurs
|
||||
IA
|
||||
métaheuristiques
|
||||
métaheuristique
|
||||
solveur
|
||||
frameworks
|
||||
œuvre
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -21,7 +21,7 @@ endif
|
|||
|
||||
" C++ extentions
|
||||
|
||||
syn keyword cppSTL abort abs accumulate acos adjacent_difference adjacent_find adjacent_find_if any append asctime asin assign at atan atan2 atexit atof atoi atol auto_ptr back back_inserter bad bad_alloc bad_cast bad_exception bad_typeid badbit beg begin binary_compose binary_negate binary_search bind2nd binder1st binder2nd bitset bsearch c_str calloc capacity ceil cerr cin clear clearerr clock clog close compare compose1 compose2 const_iterator construct copy copy_backward copy_n cos cosh count count_if cout ctime data deque destroy difference_type difftime div divides domain_error empty end endl eof eofbit equal equal_range erase exception exit exp fabs fail failbit failure fclose feof ferror fflush fgetc fgetpos fgets fill fill_n find find_end find_first_not_of find_first_of find_if find_last_not_of find_last_of first flags flip floor flush fmod fopen for_each fprintf fputc fputs fread free freopen frexp front fscanf fseek fsetpos fstream ftell fwrite gcount generate generate_n get get_temporary_buffer getc getchar getenv getline gets gmtime good goodbit greater greater_equal hash_map hash_multimap hash_multiset hash_set ifstream ignore in includes inner_product inplace_merge insert inserter invalid_argument ios ios_base iostate iota is_heap is_open is_sorted isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace istream istream_iterator istringstream isupper isxdigit iter_swap iterator iterator_category key_comp ldiv length length_error less less_equal lexicographical_compare lexicographical_compare_3way list localtime log log10 logic_error logical_and logical_not logical_or longjmp lower_bound make_heap malloc map max max_element max_size mem_fun mem_fun1 mem_fun1_ref mem_fun_ref memchr memcpy memmove memset merge min min_element minus mismatch mktime modf modulus multimap multiplies multiset negate next_permutation npos nth_element numeric_limits ofstream open ostream ostream_iterator ostringstream out_of_range overflow_error pair make_pair partial_sort partial_sort_copy partial_sum partition peek perror plus pointer pointer_to_binary_function pointer_to_unary_function pop pop_back pop_front pop_heap pow power precision prev_permutation printf ptr_fun push push_back push_front push_heap put putback putc putchar puts qsort raise rand random_sample random_sample_n random_shuffle range_error rbegin rdbuf rdstate read realloc reference remove remove_copy remove_copy_if remove_if rename rend replace replace_copy replace_copy_if replace_if reserve reset resize return_temporary_buffer reverse reverse_copy reverse_iterator rewind rfind rotate rotate_copy runtime_error scanf search search_n second seekg seekp set set_difference set_intersection set_symmetric_difference set_union setbuf setf setjmp setlocale setvbuf signal sin sinh size size_t size_type sort sort_heap splice sprintf sqrt srand sscanf stable_partition stable_sort std str strcat strchr strcmp strcoll strcpy strcspn strerror strftime string strlen strncat strncmp strncpy strpbrk strrchr strspn strstr strtod strtok strtol strtoul strxfrm substr swap swap_ranges sync_with_stdio system tan tanh tellg tellp temporary_buffer test time time_t tmpfile tmpnam to_string to_ulong tolower top toupper transform unary_compose unary_negate underflow_error unget ungetc uninitialized_copy uninitialized_copy_n uninitialized_fill uninitialized_fill_n unique unique_copy unsetf upper_bound va_arg value_comp value_type vector vfprintf vprintf vsprintf width write round initializer_list function
|
||||
syn keyword cppSTL abort abs accumulate acos adjacent_difference adjacent_find adjacent_find_if any append asctime asin assign at atan atan2 atexit atof atoi atol auto_ptr back back_inserter bad bad_alloc bad_cast bad_exception bad_typeid badbit beg begin binary_compose binary_negate binary_search bind2nd binder1st binder2nd bitset bsearch c_str calloc capacity ceil cerr cin clear clearerr clock clog close compare compose1 compose2 const_iterator construct copy copy_backward copy_n cos cosh count count_if cout ctime data deque destroy difference_type difftime div divides domain_error empty end endl eof eofbit equal equal_range erase exception exit exp fabs fail failbit failure fclose feof ferror fflush fgetc fgetpos fgets fill fill_n find find_end find_first_not_of find_first_of find_if find_last_not_of find_last_of first flags flip floor flush fmod fopen for_each fprintf fputc fputs fread free freopen frexp front fscanf fseek fsetpos fstream ftell fwrite gcount generate generate_n get get_temporary_buffer getc getchar getenv getline gets gmtime good goodbit greater greater_equal hash_map hash_multimap hash_multiset hash_set ifstream ignore in includes inner_product inplace_merge insert inserter invalid_argument ios ios_base iostate iota is_heap is_open is_sorted isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace istream istream_iterator istringstream isupper isxdigit iter_swap iterator iterator_category key_comp ldiv length length_error less less_equal lexicographical_compare lexicographical_compare_3way list localtime log log10 logic_error logical_and logical_not logical_or longjmp lower_bound make_heap malloc map max max_element max_size mem_fun mem_fun1 mem_fun1_ref mem_fun_ref memchr memcpy memmove memset merge min min_element minus mismatch mktime modf modulus multimap multiplies multiset negate next_permutation npos nth_element numeric_limits ofstream open ostream ostream_iterator ostringstream out_of_range overflow_error pair make_pair partial_sort partial_sort_copy partial_sum partition peek perror plus pointer pointer_to_binary_function pointer_to_unary_function pop pop_back pop_front pop_heap pow power precision prev_permutation printf ptr_fun push push_back push_front push_heap put putback putc putchar puts qsort raise rand random_sample random_sample_n random_shuffle range_error rbegin rdbuf rdstate read realloc reference remove remove_copy remove_copy_if remove_if rename rend replace replace_copy replace_copy_if replace_if reserve reset resize return_temporary_buffer reverse reverse_copy reverse_iterator rewind rfind rotate rotate_copy runtime_error scanf search search_n second seekg seekp set set_difference set_intersection set_symmetric_difference set_union setbuf setf setjmp setlocale setvbuf signal sin sinh size size_t size_type sort sort_heap splice sprintf sqrt srand sscanf stable_partition stable_sort std str strcat strchr strcmp strcoll strcpy strcspn strerror strftime string strlen strncat strncmp strncpy strpbrk strrchr strspn strstr strtod strtok strtol strtoul strxfrm substr swap swap_ranges sync_with_stdio system tan tanh tellg tellp temporary_buffer test time time_t tmpfile tmpnam to_string to_ulong tolower top toupper transform unary_compose unary_negate underflow_error unget ungetc uninitialized_copy uninitialized_copy_n uninitialized_fill uninitialized_fill_n unique unique_copy unsetf upper_bound va_arg value_comp value_type vector vfprintf vprintf vsprintf width write round initializer_list function make_unique make_shared forward
|
||||
|
||||
syn keyword cppStatement new delete this friend using
|
||||
syn keyword cppAccess public protected private
|
||||
|
|
@ -47,6 +47,9 @@ syn match cppOperator "\<EACH_\(ITEMS\|VERTICES\|EDGES\)\>"
|
|||
syn keyword cppOperator IN ROC
|
||||
syn match cppMember "\<_[a-zA-Z_][a-zA-Z_0-9]*\>"
|
||||
syn keyword cppType auto
|
||||
"
|
||||
" Show trailing colon (instead of semi-colon)
|
||||
syn match cppEndingColon /\S:$/
|
||||
|
||||
" The minimum and maximum operators in GNU C++
|
||||
syn match cppMinMax "[<>]?"
|
||||
|
|
@ -73,6 +76,7 @@ if version >= 508 || !exists("did_cpp_syntax_inits")
|
|||
HiLink cppNumber Number
|
||||
HiLink cppBoolean Boolean
|
||||
HiLink cppMacro PreProc
|
||||
HiLink cppEndingColon Todo
|
||||
delcommand HiLink
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ hook global WinSetOption filetype=(cpp) %[
|
|||
else for goto if
|
||||
return switch
|
||||
throw try while
|
||||
assert static_assert
|
||||
assert static_assert ASSERT
|
||||
'
|
||||
state='
|
||||
alignas alignof asm compl const_cast decltype
|
||||
|
|
@ -28,9 +28,9 @@ hook global WinSetOption filetype=(cpp) %[
|
|||
types='
|
||||
bool byte char char8_t char16_t char32_t double float int long
|
||||
max_align_t nullptr_t ptrdiff_t short signed size_t size_type unsigned void
|
||||
wchar_t uint32_t
|
||||
wchar_t uint32_t critical error warning progress note info debug xdebug
|
||||
'
|
||||
values='NULL false nullptr this true'
|
||||
values='NULL false nullptr this true CLUTCHLOG CLUTCHLOGD CLUTCHCODE CLUTCHFUNC'
|
||||
|
||||
STL='
|
||||
abort abs accumulate acos adjacent_difference adjacent_find adjacent_find_if any append
|
||||
|
|
|
|||
|
|
@ -1,173 +0,0 @@
|
|||
|
||||
# Blues
|
||||
declare-option -hidden str kalolo_shiny_blue rgb:b7dbff
|
||||
declare-option -hidden str kalolo_light_blue rgb:87bbff
|
||||
declare-option -hidden str kalolo_blue rgb:6f9dfe
|
||||
declare-option -hidden str kalolo_dark_blue rgb:4f7dde
|
||||
|
||||
# Magentas
|
||||
declare-option -hidden str kalolo_light_magenta rgb:c6b3ff
|
||||
declare-option -hidden str kalolo_magenta rgb:a073bb
|
||||
|
||||
# Yellows
|
||||
declare-option -hidden str kalolo_light_yellow rgb:fffb95
|
||||
declare-option -hidden str kalolo_mid_yellow rgb:f5db65
|
||||
declare-option -hidden str kalolo_yellow rgb:efcd45
|
||||
declare-option -hidden str kalolo_dark_yellow rgb:cf8200
|
||||
|
||||
# Greens
|
||||
declare-option -hidden str kalolo_shiny_green rgb:b1cfb1
|
||||
declare-option -hidden str kalolo_light_green rgb:b5d271
|
||||
declare-option -hidden str kalolo_green rgb:a5c261
|
||||
declare-option -hidden str kalolo_dark_green rgb:529f50
|
||||
|
||||
# Reds
|
||||
declare-option -hidden str kalolo_light_red rgb:ff5949
|
||||
declare-option -hidden str kalolo_red rgb:db4939
|
||||
declare-option -hidden str kalolo_dark_red rgb:cb3929
|
||||
|
||||
# Orange-ish
|
||||
declare-option -hidden str kalolo_cream rgb:bf8753
|
||||
declare-option -hidden str kalolo_dark_cream rgb:363037
|
||||
|
||||
# Whites
|
||||
declare-option -hidden str kalolo_light_white rgb:f8f8f8
|
||||
declare-option -hidden str kalolo_white rgb:d3d0cc
|
||||
declare-option -hidden str kalolo_mid_white rgb:b1bfb1
|
||||
declare-option -hidden str kalolo_dark_white rgb:73707c
|
||||
|
||||
# Blacks
|
||||
declare-option -hidden str kalolo_light_black rgb:4b4b4b
|
||||
declare-option -hidden str kalolo_mid_black rgb:343534
|
||||
declare-option -hidden str kalolo_black rgb:2b2b2b
|
||||
declare-option -hidden str kalolo_dawn_black rgb:232323
|
||||
declare-option -hidden str kalolo_dark_black rgb:000000
|
||||
|
||||
# Code
|
||||
# Comment are important information, they are the only thing in light green.
|
||||
set-face global comment "%opt{kalolo_green},default"
|
||||
# Documentation is even more important, it's in bold.
|
||||
set-face global documentation "%opt{kalolo_green},default+b"
|
||||
# Metadata are less important, they are in dark green.
|
||||
set-face global meta "%opt{kalolo_mid_white},%opt{kalolo_dawn_black}"
|
||||
# Values are a kind of "side" information, they are in dark green.
|
||||
set-face global value "%opt{kalolo_dark_green},default"
|
||||
|
||||
# "Stable" objects in blue.
|
||||
set-face global identifier "%opt{kalolo_blue},default"
|
||||
set-face global type "%opt{kalolo_light_blue},default"
|
||||
set-face global entity "%opt{kalolo_magenta},default+b"
|
||||
|
||||
# "Mutable" objects in blue.
|
||||
set-face global variable "%opt{kalolo_white},default"
|
||||
set-face global module "%opt{kalolo_dark_blue},default"
|
||||
|
||||
# String are ubiquitous, they have their own color,
|
||||
# with a different background, to easily spot multiline strings.
|
||||
# set-face global string "%opt{kalolo_cream},%opt{kalolo_dark_cream}"
|
||||
set-face global string "%opt{kalolo_shiny_green},%opt{kalolo_mid_black}"
|
||||
|
||||
# More or less single-character delimiter which are everywhere.
|
||||
set-face global operator "%opt{kalolo_light_magenta},default"
|
||||
set-face global delimiter "%opt{kalolo_light_yellow},default"
|
||||
|
||||
# Attributes in yellow.
|
||||
set-face global attribute "%opt{kalolo_yellow},default"
|
||||
|
||||
# Builtins in lighter white.
|
||||
set-face global builtin "%opt{kalolo_light_white},default"
|
||||
|
||||
# Generic keywords in red.
|
||||
set-face global keyword "%opt{kalolo_red},default"
|
||||
# Additional keywords
|
||||
set-face global flow "%opt{kalolo_red},default+b" # Keywords related to control flow (if,for,assert,etc.).
|
||||
set-face global state "%opt{kalolo_red},default" # Keywords reated to state (cast,new,sizeof,etc.).
|
||||
|
||||
|
||||
# LSP faces
|
||||
|
||||
# Additionnal "function"
|
||||
set-face global function "%opt{kalolo_light_white},default"
|
||||
|
||||
# Faces used by inline diagnostics.
|
||||
set-face global DiagnosticError "rgb:ff0000,default"
|
||||
set-face global DiagnosticWarning "rgb:ff00ff,default"
|
||||
# Faces used by inlay diagnostics.
|
||||
set-face global InlayDiagnosticError "rgb:ff00ff,default+i"
|
||||
set-face global InlayDiagnosticWarning "rgb:ff00ff,default+i"
|
||||
# Line flags for errors and warnings both use this face.
|
||||
set-face global LineFlagErrors red
|
||||
# Face for highlighting references.
|
||||
# FIXME Reference faces not taken into account
|
||||
set-face global Reference "default,%opt{kalolo_light_black}+F"
|
||||
set-face global ReferenceBind "default,%opt{kalolo_light_black}+Fbu"
|
||||
# Face for inlay hints.
|
||||
set-face global InlayHint "%opt{kalolo_light_white},default+i"
|
||||
|
||||
# text
|
||||
set-face global title "%opt{kalolo_light_blue},default+bi"
|
||||
set-face global header "%opt{kalolo_light_magenta},default+bu"
|
||||
set-face global bold "%opt{kalolo_light_yellow},default+b"
|
||||
set-face global italic "%opt{kalolo_light_white},default+i"
|
||||
set-face global mono "%opt{kalolo_white},%opt{kalolo_dawn_black}"
|
||||
set-face global block "%opt{kalolo_light_green},default"
|
||||
set-face global link "%opt{kalolo_dark_blue},default+u"
|
||||
set-face global bullet "%opt{kalolo_yellow},default+b"
|
||||
set-face global list "%opt{kalolo_light_white},default"
|
||||
|
||||
# kakoune UI
|
||||
set-face global Default "%opt{kalolo_white},%opt{kalolo_black}"
|
||||
set-face global MatchingChar "%opt{kalolo_light_white},%opt{kalolo_dark_green}"
|
||||
set-face global Whitespace "%opt{kalolo_dark_white},default"
|
||||
set-face global BufferPadding "%opt{kalolo_light_black},%opt{kalolo_dark_black}"
|
||||
set-face global LineNumbers "%opt{kalolo_dark_white},default"
|
||||
set-face global LineNumberCursor "%opt{kalolo_light_white},default"
|
||||
set-face global LineNumbersWrapped "%opt(kalolo_dark_black)"
|
||||
set-face global MenuForeground "%opt{kalolo_light_white},%opt{kalolo_dark_yellow}+b"
|
||||
set-face global MenuBackground "%opt{kalolo_light_white},%opt{kalolo_dark_blue}"
|
||||
set-face global MenuInfo "%opt{kalolo_light_white},%opt{kalolo_blue}+i"
|
||||
set-face global Information "%opt{kalolo_white},%opt{kalolo_light_black}"
|
||||
set-face global Error "%opt{kalolo_light_yellow},%opt{kalolo_red}"
|
||||
set-face global StatusLine "%opt{kalolo_dark_black},%opt{kalolo_dark_blue}+b"
|
||||
set-face global StatusLineMode "%opt{kalolo_light_white},%opt{kalolo_dark_yellow}+b"
|
||||
set-face global StatusLineInfo "%opt{kalolo_light_white},%opt{kalolo_black}"
|
||||
set-face global StatusLineValue "%opt{kalolo_black},%opt{kalolo_dark_yellow}"
|
||||
set-face global StatusCursor "%opt{kalolo_light_white},%opt{kalolo_yellow}"
|
||||
set-face global Prompt "%opt{kalolo_dark_black},%opt{kalolo_dark_blue}+b"
|
||||
|
||||
# Additional UI
|
||||
# Like a temporary comment: light green.
|
||||
set-face global Search "%opt{kalolo_black},%opt{kalolo_light_green}+i"
|
||||
|
||||
# Cursors varying with mode
|
||||
# Default normal
|
||||
set-face global PrimarySelection "default,rgba:cf820075"
|
||||
set-face global PrimaryCursor "%opt{kalolo_black},%opt{kalolo_light_yellow}+F"
|
||||
set-face global PrimaryCursorEol "default,%opt{kalolo_light_red}+F"
|
||||
|
||||
set-face global SecondarySelection "default,rgba:cf820045"
|
||||
set-face global SecondaryCursor "%opt{kalolo_white},%opt{kalolo_dark_yellow}+F"
|
||||
set-face global SecondaryCursorEol "default,%opt{kalolo_dark_red}+F"
|
||||
|
||||
# Switching to normal = shades of yellows
|
||||
hook global ModeChange '.*:normal' %{
|
||||
set-face global PrimarySelection "default,rgba:cf820075"
|
||||
set-face global PrimaryCursor "%opt{kalolo_black},%opt{kalolo_light_yellow}+F"
|
||||
set-face global PrimaryCursorEol "default,%opt{kalolo_light_red}+F"
|
||||
|
||||
set-face global SecondarySelection "default,rgba:cf820045"
|
||||
set-face global SecondaryCursor "%opt{kalolo_white},%opt{kalolo_dark_yellow}+F"
|
||||
set-face global SecondaryCursorEol "default,%opt{kalolo_dark_red}+F"
|
||||
}
|
||||
|
||||
# Switching to insert = shades of blue
|
||||
hook global ModeChange '.*:insert' %{
|
||||
set-face global PrimarySelection "default,rgba:6f9dfe75"
|
||||
set-face global PrimaryCursor "%opt{kalolo_dark_black},%opt{kalolo_light_blue}+F"
|
||||
set-face global PrimaryCursorEol "default,%opt{kalolo_light_magenta}+F"
|
||||
|
||||
set-face global SecondarySelection "default,rgba:6f9dfe45"
|
||||
set-face global SecondaryCursor "%opt{kalolo_light_white},%opt{kalolo_dark_blue}+F"
|
||||
set-face global SecondaryCursorEol "default,%opt{kalolo_magenta}+F"
|
||||
}
|
||||
|
||||
1
kak/colors/kalolo.kak
Symbolic link
1
kak/colors/kalolo.kak
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/home/nojhan/code/kalolo/kalolo.kak
|
||||
32
kak/kakrc
32
kak/kakrc
|
|
@ -15,7 +15,7 @@ map global normal '$' -docstring 'Comment the selected lines' ': comment-lin
|
|||
map global normal '<a-$>' -docstring 'Comment the selected block with begin/end characters' ': comment-block<ret>'
|
||||
map global normal '#' -docstring 'duplicate and comment line' 'xyp: comment-line<ret>j'
|
||||
|
||||
map global normal '*' -docstring 'select all occurrences of the word under cursor' 'be*n<ret>'
|
||||
map global normal '*' -docstring 'select all occurrences of the word under cursor' 'be*n<ret>vv'
|
||||
|
||||
map global normal '=' -docstring 'indent like the line above' '<a-C>gi<a-&><space>jgi'
|
||||
|
||||
|
|
@ -147,11 +147,19 @@ filetype-hook makefile %{
|
|||
filetype-hook latex %{
|
||||
set-option buffer autowrap_column 160
|
||||
autowrap-enable
|
||||
addhl buffer/ column 160 white,black
|
||||
}
|
||||
|
||||
filetype-hook markdown %{
|
||||
# set-option buffer autowrap_column 80
|
||||
# autowrap-enable
|
||||
addhl buffer/ column 80 white,black
|
||||
}
|
||||
|
||||
filetype-hook restructuredtext %{
|
||||
# set-option buffer autowrap_column 80
|
||||
# autowrap-enable
|
||||
addhl buffer/ column 80 white,black
|
||||
}
|
||||
|
||||
filetype-hook c|cpp %{
|
||||
|
|
@ -218,7 +226,7 @@ plug "andreyorst/tagbar.kak" defer "tagbar" %{
|
|||
set-option global tagbar_sort false
|
||||
set-option global tagbar_size 40
|
||||
set-option global tagbar_display_anon false
|
||||
set-option global tagbar_show_details true
|
||||
set-option global tagbar_show_details false
|
||||
} config %{
|
||||
# if you have wrap highlighter enamled in you configuration
|
||||
# files it's better to turn it off for tagbar, using this hook:
|
||||
|
|
@ -317,10 +325,28 @@ plug "dmerejkowsky/kak-spell" config %{
|
|||
map global kak-spell x ': kak-spell-remove<ret>' -docstring 'remove the selection from the user dict'
|
||||
}
|
||||
|
||||
set-option -add global ui_options ncurses_padding_char=╱ # Examples: ▚ ╳ ╱ ┼ ╲
|
||||
map global user g '/[<lt><gt>=]{7}<ret>vv' -docstring 'Search for Git conflict markers'
|
||||
|
||||
#set-option -add global ui_options ncurses_padding_char=╱ # Examples: ▚ ╳ ╱ ┼ ╲
|
||||
set-option -add global ui_options ncurses_padding_char=/ # Examples: ▚ ╳ ╱ ┼ ╲
|
||||
|
||||
add-highlighter global/ scrollbar
|
||||
add-highlighter global/scrollbar/ scrollbar-indicator red,default lsp_error_lines
|
||||
add-highlighter global/scrollbar/ scrollbar-indicator yellow,default lint_flags
|
||||
# add-highlighter global/scrollbar/ scrollbar-indicator red,default git_diff_flags
|
||||
# git show-diff
|
||||
|
||||
|
||||
# Force `liquidprompt` to be a shell filetype.
|
||||
hook global BufCreate (.*/)?liquidprompt %{
|
||||
set buffer filetype sh
|
||||
}
|
||||
|
||||
# Force liquidprompt's *.theme files to be a shell filetype.
|
||||
hook global BufCreate .*\.theme %{
|
||||
set buffer filetype sh
|
||||
}
|
||||
hook global BufCreate .*\.conf %{
|
||||
set buffer filetype sh
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Use Pygments to get syntax colorization in less
|
||||
# export LESS=" -R"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue