Emacs mode-lines for all files

This commit is contained in:
Sebastian Gniazdowski 2017-06-13 06:50:47 +02:00
parent bc12fd9bea
commit 14d0704d91
4 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,6 @@
# -*- Mode: sh; sh-indentation: 4; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# vim:ft=zsh:sw=4:sts=4:et
# To use (when not using as plugin) copy to site-functions and issue # To use (when not using as plugin) copy to site-functions and issue
# (add to ~/.zshrc): # (add to ~/.zshrc):
# #
@ -418,5 +421,3 @@ if [[ "$__hsmw_hcw_call_count" -eq "1" ]]; then
elif (( __hsmw_hcw_call_count > 0 )); then elif (( __hsmw_hcw_call_count > 0 )); then
(( __hsmw_hcw_call_count -- )) (( __hsmw_hcw_call_count -- ))
fi fi
# vim:ft=zsh

View file

@ -1,3 +1,6 @@
# -*- Mode: sh; sh-indentation: 4; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# vim:ft=zsh:sw=4:sts=4:et
# #
# No plugin manager is needed to use this file. All that is needed is adding: # No plugin manager is needed to use this file. All that is needed is adding:
# source {where-unpacked}/history-search-multi-word.plugin.zsh # source {where-unpacked}/history-search-multi-word.plugin.zsh

View file

@ -1,3 +1,6 @@
# -*- Mode: sh; sh-indentation: 4; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# vim:ft=zsh:sw=4:sts=4:et
[[ "$WIDGET" = *-word ]] && (( __hsmw_ctx_idx -- )) [[ "$WIDGET" = *-word ]] && (( __hsmw_ctx_idx -- ))
[[ "$WIDGET" = *-backwards ]] && (( __hsmw_ctx_idx ++ )) [[ "$WIDGET" = *-backwards ]] && (( __hsmw_ctx_idx ++ ))
[[ "$WIDGET" = *-pforwards ]] && (( __hsmw_ctx_idx = __hsmw_ctx_idx - __hsmw_page_size )) [[ "$WIDGET" = *-pforwards ]] && (( __hsmw_ctx_idx = __hsmw_ctx_idx - __hsmw_page_size ))
@ -163,5 +166,3 @@ _hsmw_ctx_main() {
} }
_hsmw_ctx_main _hsmw_ctx_main
# vim:ft=zsh

View file

@ -1,3 +1,6 @@
# -*- Mode: sh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim:ft=zsh:sw=2:sts=2:et
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
# Copyright (c) 2010-2016 zsh-syntax-highlighting contributors # Copyright (c) 2010-2016 zsh-syntax-highlighting contributors
# Copyright (c) 2016-2017 Sebastian Gniazdowski (modifications) # Copyright (c) 2016-2017 Sebastian Gniazdowski (modifications)
@ -699,6 +702,3 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=(
} }
__HSMW_MH_SOURCED=1 __HSMW_MH_SOURCED=1
# vim:ft=zsh:sw=2:et:sts=2
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-