diff --git a/history-search-multi-word b/history-search-multi-word index be3d6d5..925acbd 100644 --- a/history-search-multi-word +++ b/history-search-multi-word @@ -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 # (add to ~/.zshrc): # @@ -418,5 +421,3 @@ if [[ "$__hsmw_hcw_call_count" -eq "1" ]]; then elif (( __hsmw_hcw_call_count > 0 )); then (( __hsmw_hcw_call_count -- )) fi - -# vim:ft=zsh diff --git a/history-search-multi-word.plugin.zsh b/history-search-multi-word.plugin.zsh index c30cd21..30273c6 100644 --- a/history-search-multi-word.plugin.zsh +++ b/history-search-multi-word.plugin.zsh @@ -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: # source {where-unpacked}/history-search-multi-word.plugin.zsh diff --git a/hsmw-context-main b/hsmw-context-main index f76627d..d8b7d23 100644 --- a/hsmw-context-main +++ b/hsmw-context-main @@ -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" = *-backwards ]] && (( __hsmw_ctx_idx ++ )) [[ "$WIDGET" = *-pforwards ]] && (( __hsmw_ctx_idx = __hsmw_ctx_idx - __hsmw_page_size )) @@ -163,5 +166,3 @@ _hsmw_ctx_main() { } _hsmw_ctx_main - -# vim:ft=zsh diff --git a/hsmw-highlight b/hsmw-highlight index f0abf2d..440bdb3 100644 --- a/hsmw-highlight +++ b/hsmw-highlight @@ -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) 2016-2017 Sebastian Gniazdowski (modifications) @@ -699,6 +702,3 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=( } __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; -*-