added configuration file for dungon-crawl-stone-soup
This commit is contained in:
parent
d66419712f
commit
fba6b89347
106
crawl/.crawlrc
Normal file
106
crawl/.crawlrc
Normal file
|
@ -0,0 +1,106 @@
|
||||||
|
#this is my configuration file for dungon crawl stone soup, a staple game for my low end machines.
|
||||||
|
|
||||||
|
#set the veiwport. may need to be different on different machines
|
||||||
|
view_max_width = 81
|
||||||
|
view_max_height = 71
|
||||||
|
|
||||||
|
#the following section is from the base crawl settings, but it is not inculded by default. I am including it so I dont forget to turn it on on a new install.
|
||||||
|
# For players who are prone to leave labyrinths without picking up the
|
||||||
|
# loot, here is a way to avoid that: put the following snippet in your
|
||||||
|
# options file (init.txt or .crawlrc) and then macro the '<' key to
|
||||||
|
# ===safe_upstairs (do it in-game by pressing '~' or Ctrl-D).
|
||||||
|
|
||||||
|
{
|
||||||
|
function safe_upstairs()
|
||||||
|
if you.branch() == "Lab" then
|
||||||
|
crawl.formatted_mpr("Really leave this labyrinth?", "prompt")
|
||||||
|
local res = crawl.getch()
|
||||||
|
if string.lower(string.char(res)) == "y" then
|
||||||
|
crawl.sendkeys("<")
|
||||||
|
end
|
||||||
|
else
|
||||||
|
crawl.sendkeys("<")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Add the following to your options file to automatically pick up
|
||||||
|
# armour for non-body armour slots (gloves, boots, etc.), if you don't
|
||||||
|
# already have an item equipped there.
|
||||||
|
{
|
||||||
|
add_autopickup_func(function(it, name)
|
||||||
|
if it.is_useless then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
if it.class(true) == "armour" then
|
||||||
|
local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves",
|
||||||
|
boots="Boots"}
|
||||||
|
st, _ = it.subtype()
|
||||||
|
if good_slots[st] ~= nil and items.equipped_at(good_slots[st]) == nil then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
}
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# To automatically open the skill menu when starting a new game, add
|
||||||
|
# the following to your options file.
|
||||||
|
|
||||||
|
{
|
||||||
|
local need_skills_opened = true
|
||||||
|
function ready()
|
||||||
|
if you.turns() == 0 and need_skills_opened then
|
||||||
|
need_skills_opened = false
|
||||||
|
crawl.sendkeys("m")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
||||||
|
#speed during variout multi-turn actions
|
||||||
|
travel_delay = 20
|
||||||
|
explore_delay = 10
|
||||||
|
rest_delay = 5
|
||||||
|
|
||||||
|
#these should be default, but just to be sure.
|
||||||
|
pickup_thrown = true
|
||||||
|
pickup_menu_limit = 1
|
||||||
|
default_autopickup = true
|
||||||
|
simple_targeting = false
|
||||||
|
easy_door = true
|
||||||
|
#colour stuff that should be default
|
||||||
|
friend_brand = hi:green
|
||||||
|
neutral_brand = hi:lightgrey
|
||||||
|
stab_brand = hi:blue
|
||||||
|
may_stab_brand = hi:yellow
|
||||||
|
heap_brand = reverse
|
||||||
|
feature_item_brand = reverse
|
||||||
|
trap_item_brand = reverse
|
||||||
|
#misc stuff
|
||||||
|
#mouse support on tty is strange
|
||||||
|
mouse_input = false
|
||||||
|
#make training manual by default
|
||||||
|
default_manual_training = true
|
||||||
|
#automatically pick up ammo used in starting weapons at game start
|
||||||
|
autopickup_starting_ammo = true
|
||||||
|
#pick up autopickup stuff when exploring
|
||||||
|
explore_greedy = true
|
||||||
|
#explore the perimiter of rooms first
|
||||||
|
explore_wall_bias = 10
|
||||||
|
#rest untill BOTH MP and HP are full
|
||||||
|
rest_wait_both = true
|
||||||
|
#rest before exploring
|
||||||
|
explore_auto_rest = false
|
||||||
|
#allow you to put on and take off items from the same screen.
|
||||||
|
equip_unequip = true
|
||||||
|
#auto butcher
|
||||||
|
auto_butcher = true
|
||||||
|
#be smart, eat the oldest stuff first
|
||||||
|
easy_eat_chunks = true
|
||||||
|
#ask for confirmation for one way stuff
|
||||||
|
warn_hatches = true
|
||||||
|
#warn on low MP
|
||||||
|
mp_waring = 10
|
||||||
|
#inscribe god gifts
|
||||||
|
show_god_gift = yes
|
3
neovim/.config/nvim/.netrwhist
Normal file
3
neovim/.config/nvim/.netrwhist
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
let g:netrw_dirhistmax =10
|
||||||
|
let g:netrw_dirhist_cnt =1
|
||||||
|
let g:netrw_dirhist_1='/home/gabe/.zsh'
|
|
@ -29,8 +29,15 @@
|
||||||
bind -r K resize-pane -U 5
|
bind -r K resize-pane -U 5
|
||||||
bind -r L resize-pane -R 5
|
bind -r L resize-pane -R 5
|
||||||
|
|
||||||
#dont rename windows automatically
|
|
||||||
set-option -g allow-rename off
|
|
||||||
|
|
||||||
#fix annoying escape behavior
|
#fix annoying escape behavior
|
||||||
set -sg escape-time 0
|
set -sg escape-time 0
|
||||||
|
|
||||||
|
#customizing ma tmux status line!
|
||||||
|
#make sure the left status line can hold the stuff we are about to give it.
|
||||||
|
set -g status-left-length 20
|
||||||
|
#have the left side status line display my hostname.
|
||||||
|
set -g status-left " #{host_short} | "
|
||||||
|
#also lengthen the right side status, by mutch more.
|
||||||
|
set -g status-right-length 60
|
||||||
|
#have the right side status bar display the current battery status and the time/date.
|
||||||
|
set -g status-right 'battery:#(acpi | cut -d ',' -f 2) | %H:%M %d-%m-%y '
|
||||||
|
|
11
zsh/.zshrc
11
zsh/.zshrc
|
@ -13,6 +13,7 @@ local LOCAL_ZSHRC=$HOME/.zshlocal/.zshrc # Allow the local machine to have
|
||||||
|
|
||||||
# Set important shell variables
|
# Set important shell variables
|
||||||
export EDITOR=nvim # Set default editor
|
export EDITOR=nvim # Set default editor
|
||||||
|
export VISUAL=nvim
|
||||||
export WORDCHARS='' # This is the oh-my-zsh default, I think I'd like it to be a bit different
|
export WORDCHARS='' # This is the oh-my-zsh default, I think I'd like it to be a bit different
|
||||||
export PAGER=less # Set default pager
|
export PAGER=less # Set default pager
|
||||||
export LESS="-R" # Set the default options for less
|
export LESS="-R" # Set the default options for less
|
||||||
|
@ -21,6 +22,8 @@ local LOCAL_ZSHRC=$HOME/.zshlocal/.zshrc # Allow the local machine to have
|
||||||
# Misc
|
# Misc
|
||||||
# Enable the ZLE line editor, which is default behavior, but to be sure
|
# Enable the ZLE line editor, which is default behavior, but to be sure
|
||||||
setopt ZLE
|
setopt ZLE
|
||||||
|
#Enable vi mode for the ZLE. it should be set by default due to our EDITOR and VISUAL, but this is just to be safe.
|
||||||
|
bindkey -v
|
||||||
# prevent duplicate entries in path
|
# prevent duplicate entries in path
|
||||||
declare -U path
|
declare -U path
|
||||||
# Uses custom colors for LS, as outlined in dircolors
|
# Uses custom colors for LS, as outlined in dircolors
|
||||||
|
@ -39,8 +42,6 @@ local LOCAL_ZSHRC=$HOME/.zshlocal/.zshrc # Allow the local machine to have
|
||||||
unsetopt FLOW_CONTROL
|
unsetopt FLOW_CONTROL
|
||||||
# List jobs in the long format by default. (I dont know what this does but it sounds good)
|
# List jobs in the long format by default. (I dont know what this does but it sounds good)
|
||||||
setopt LONG_LIST_JOBS
|
setopt LONG_LIST_JOBS
|
||||||
# Make the shell act like vi if i hit escape
|
|
||||||
setopt vi
|
|
||||||
|
|
||||||
# ZSH History
|
# ZSH History
|
||||||
alias history='fc -fl 1'
|
alias history='fc -fl 1'
|
||||||
|
@ -87,7 +88,6 @@ local LOCAL_ZSHRC=$HOME/.zshlocal/.zshrc # Allow the local machine to have
|
||||||
setopt NUMERIC_GLOB_SORT # Sort globs that expand to numbers numerically, not by letter (i.e. 01 2 03)
|
setopt NUMERIC_GLOB_SORT # Sort globs that expand to numbers numerically, not by letter (i.e. 01 2 03)
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
|
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
|
|
||||||
#alias -g ...='../..'
|
#alias -g ...='../..'
|
||||||
|
@ -155,3 +155,8 @@ local LOCAL_ZSHRC=$HOME/.zshlocal/.zshrc # Allow the local machine to have
|
||||||
source $LOCAL_ZSHRC
|
source $LOCAL_ZSHRC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#launch a tmux session for interactive shells (attaching to an existing tmux session if possible.
|
||||||
|
if which tmux > /dev/null 2>&1; then #checks if tmux is installed. if it is not, do nothing.
|
||||||
|
#try to attach to an exsisting tmux session, or, if that doesnt exist, make a new one.
|
||||||
|
test -z ${TMUX} && (tmux attach || tmux new-session)
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue