Handle the case where $HOME has a trailing slash.
[profile.git] / .pentadactylrc
index c96f480..03b191d 100644 (file)
@@ -5,7 +5,7 @@ loadplugins '\.(js|penta)$'
 " Show scrollbars, address bar and tab numbers.
 set guioptions=CMbcmnrs
 " On Mac there is no menu bar.  The icons are in the toolbar.
 " Show scrollbars, address bar and tab numbers.
 set guioptions=CMbcmnrs
 " On Mac there is no menu bar.  The icons are in the toolbar.
-:if (/Mac OS X/.test(navigator.userAgent))
+:if (/Mac OS X/.test(content.navigator.userAgent))
   set guioptions+=T
 :endif
 
   set guioptions+=T
 :endif
 
@@ -16,10 +16,16 @@ set hlfind
 se autocomplete=
 
 " Use d/u without Control for up and down.
 se autocomplete=
 
 " Use d/u without Control for up and down.
-noremap d <C-d>
-noremap u <C-u>
+map -builtin d <C-d>
+map -builtin u <C-u>
 
 " Show jumplist.
 
 " Show jumplist.
-noremap J :jumps<CR>
+map -builtin J :jumps<CR>
+
+" Fix vertical tabs.
+style -A -n tabkit2 * [dactyl-australis=true] .tabbrowser-tabs { max-height: inherit !important; }
+
+" Fix uBlock popup.
+style -n ublock * #nav-bar * { visibility: visible; }
 
 " vim: set ft=pentadactyl:
 
 " vim: set ft=pentadactyl: