Compare commits
3 commits
7ac1b932a7
...
bf2fd2c634
Author | SHA1 | Date | |
---|---|---|---|
bf2fd2c634 | |||
c32f3e7f1a | |||
00ae43a23d |
3 changed files with 28 additions and 15 deletions
|
@ -4,6 +4,7 @@ end
|
||||||
fish_default_key_bindings
|
fish_default_key_bindings
|
||||||
|
|
||||||
set -gx EDITOR nvim
|
set -gx EDITOR nvim
|
||||||
|
set -gx READER mupdf
|
||||||
|
|
||||||
fish_add_path $HOME/.local/share/nvim/mason/bin
|
fish_add_path $HOME/.local/share/nvim/mason/bin
|
||||||
fish_add_path /home/afonso/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin
|
fish_add_path /home/afonso/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin
|
||||||
|
|
|
@ -126,6 +126,19 @@ cmp.setup {
|
||||||
cmp.config.compare.exact,
|
cmp.config.compare.exact,
|
||||||
cmp.config.compare.offset,
|
cmp.config.compare.offset,
|
||||||
cmp.config.compare.recently_used,
|
cmp.config.compare.recently_used,
|
||||||
|
|
||||||
|
--Make entries that start with underline appear after
|
||||||
|
function(entry1, entry2)
|
||||||
|
local _, entry1_under = entry1.completion_item.label:find "^_+"
|
||||||
|
local _, entry2_under = entry2.completion_item.label:find "^_+"
|
||||||
|
entry1_under = entry1_under or 0
|
||||||
|
entry2_under = entry2_under or 0
|
||||||
|
if entry1_under > entry2_under then
|
||||||
|
return false
|
||||||
|
elseif entry1_under < entry2_under then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sources = cmp.config.sources(
|
sources = cmp.config.sources(
|
||||||
|
|
|
@ -214,21 +214,20 @@ myXmobarPP s = def
|
||||||
@code haskell
|
@code haskell
|
||||||
|
|
||||||
myConfig = def
|
myConfig = def
|
||||||
{
|
{
|
||||||
terminal = myTerminal,
|
terminal = myTerminal,
|
||||||
focusFollowsMouse = myFocusFollowsMouse,
|
focusFollowsMouse = myFocusFollowsMouse,
|
||||||
clickJustFocuses = myClickJustFocuses,
|
clickJustFocuses = myClickJustFocuses,
|
||||||
borderWidth = myBorderWidth,
|
borderWidth = myBorderWidth,
|
||||||
modMask = myModMask,
|
modMask = myModMask,
|
||||||
workspaces = myWorkspaces,
|
workspaces = myWorkspaces,
|
||||||
normalBorderColor = myNormalBorderColor,
|
normalBorderColor = myNormalBorderColor,
|
||||||
focusedBorderColor = myFocusedBorderColor,
|
focusedBorderColor = myFocusedBorderColor,
|
||||||
-- keys = myKeys,
|
layoutHook = smartBorders . spacingWithEdge 5 $ myLayout,
|
||||||
layoutHook = smartBorders . spacingWithEdge 10 $ myLayout,
|
manageHook = manageSpawn <+> myManageHook <+> manageHook def,
|
||||||
manageHook = manageSpawn <+> myManageHook <+> manageHook def,
|
handleEventHook = myEventHook <+> fullscreenEventHook <+> swallowEventHook (className=?"Alacritty") (return True),
|
||||||
handleEventHook = myEventHook <+> fullscreenEventHook <+> swallowEventHook (className=?"Alacritty") (return True),
|
startupHook = myStartupHook
|
||||||
startupHook = myStartupHook
|
}
|
||||||
}
|
|
||||||
@end
|
@end
|
||||||
* Main
|
* Main
|
||||||
@code haskell
|
@code haskell
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue