diff options
author | Philipp Albrecht <palbrecht@mailbox.org> | 2023-06-30 10:57:51 +0200 |
---|---|---|
committer | Philipp Albrecht <palbrecht@mailbox.org> | 2023-06-30 11:03:06 +0200 |
commit | d9e8b638bf6d20ff6d2179db7c105385c8ddad1d (patch) | |
tree | dc512a22230ae531ae1ef308573dbe0bd354f60b /qutebrowser/misc | |
parent | 4a31c537c252bf6bf60dd028330741bc43e4e9a1 (diff) | |
download | qutebrowser-d9e8b638bf6d20ff6d2179db7c105385c8ddad1d.tar.gz qutebrowser-d9e8b638bf6d20ff6d2179db7c105385c8ddad1d.zip |
Remove vim modelines
We're deprecating vim modelines in favor of `.editorconfig`.
Removing vim modelines could be done using two one-liners. Most of the vim modelines
were followed by an empty line, so this one-liner took care of these ones:
```sh
rg '^# vim: .+\n\n' -l | xargs sed -i '/^# vim: /,+1d'
```
Then some of the vim modelines were followed by a pylint configuration line, so running
this one-liner afterwards took care of that:
```sh
rg '^# vim:' -l | xargs sed -i '/^# vim: /d'
```
Diffstat (limited to 'qutebrowser/misc')
29 files changed, 0 insertions, 58 deletions
diff --git a/qutebrowser/misc/__init__.py b/qutebrowser/misc/__init__.py index 8f68e3d6f..abee22f68 100644 --- a/qutebrowser/misc/__init__.py +++ b/qutebrowser/misc/__init__.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/autoupdate.py b/qutebrowser/misc/autoupdate.py index ca21181c0..3269a35ee 100644 --- a/qutebrowser/misc/autoupdate.py +++ b/qutebrowser/misc/autoupdate.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/backendproblem.py b/qutebrowser/misc/backendproblem.py index 84eb120be..800e1132c 100644 --- a/qutebrowser/misc/backendproblem.py +++ b/qutebrowser/misc/backendproblem.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2017-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/checkpyver.py b/qutebrowser/misc/checkpyver.py index ad22affa1..2a0d184cd 100644 --- a/qutebrowser/misc/checkpyver.py +++ b/qutebrowser/misc/checkpyver.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The-Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/cmdhistory.py b/qutebrowser/misc/cmdhistory.py index cd880a0fc..d2f5fca44 100644 --- a/qutebrowser/misc/cmdhistory.py +++ b/qutebrowser/misc/cmdhistory.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/consolewidget.py b/qutebrowser/misc/consolewidget.py index b2c2b4571..6d8d9916f 100644 --- a/qutebrowser/misc/consolewidget.py +++ b/qutebrowser/misc/consolewidget.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index b3998cf27..04c92a529 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/crashsignal.py b/qutebrowser/misc/crashsignal.py index a0144e26d..2d6aa834c 100644 --- a/qutebrowser/misc/crashsignal.py +++ b/qutebrowser/misc/crashsignal.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/debugcachestats.py b/qutebrowser/misc/debugcachestats.py index 9090bd0ea..c221a9dd1 100644 --- a/qutebrowser/misc/debugcachestats.py +++ b/qutebrowser/misc/debugcachestats.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2019-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/earlyinit.py b/qutebrowser/misc/earlyinit.py index 8dcf0dce0..04e5c44a5 100644 --- a/qutebrowser/misc/earlyinit.py +++ b/qutebrowser/misc/earlyinit.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The-Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/editor.py b/qutebrowser/misc/editor.py index 1c4c6ca03..14110b5c3 100644 --- a/qutebrowser/misc/editor.py +++ b/qutebrowser/misc/editor.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/elf.py b/qutebrowser/misc/elf.py index 49a88b398..ea722ebd8 100644 --- a/qutebrowser/misc/elf.py +++ b/qutebrowser/misc/elf.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2021 Florian Bruhin (The-Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/guiprocess.py b/qutebrowser/misc/guiprocess.py index 9aebf8013..a50849d29 100644 --- a/qutebrowser/misc/guiprocess.py +++ b/qutebrowser/misc/guiprocess.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/httpclient.py b/qutebrowser/misc/httpclient.py index da205ae50..2bb152b03 100644 --- a/qutebrowser/misc/httpclient.py +++ b/qutebrowser/misc/httpclient.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/ipc.py b/qutebrowser/misc/ipc.py index c94c67b29..e4a8e5d70 100644 --- a/qutebrowser/misc/ipc.py +++ b/qutebrowser/misc/ipc.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/keyhintwidget.py b/qutebrowser/misc/keyhintwidget.py index cdfed8392..a28b881cb 100644 --- a/qutebrowser/misc/keyhintwidget.py +++ b/qutebrowser/misc/keyhintwidget.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2016-2021 Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/lineparser.py b/qutebrowser/misc/lineparser.py index a270798b5..a0bcc94fa 100644 --- a/qutebrowser/misc/lineparser.py +++ b/qutebrowser/misc/lineparser.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/miscwidgets.py b/qutebrowser/misc/miscwidgets.py index a50be44ec..652735f2f 100644 --- a/qutebrowser/misc/miscwidgets.py +++ b/qutebrowser/misc/miscwidgets.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/msgbox.py b/qutebrowser/misc/msgbox.py index 45ad2d44a..bd9466d27 100644 --- a/qutebrowser/misc/msgbox.py +++ b/qutebrowser/misc/msgbox.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/nativeeventfilter.py b/qutebrowser/misc/nativeeventfilter.py index 6213a7223..e96c61682 100644 --- a/qutebrowser/misc/nativeeventfilter.py +++ b/qutebrowser/misc/nativeeventfilter.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2023 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/objects.py b/qutebrowser/misc/objects.py index 63a9cb2dd..090665cd3 100644 --- a/qutebrowser/misc/objects.py +++ b/qutebrowser/misc/objects.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2017-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/pastebin.py b/qutebrowser/misc/pastebin.py index afca59d2e..618f27fe1 100644 --- a/qutebrowser/misc/pastebin.py +++ b/qutebrowser/misc/pastebin.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/quitter.py b/qutebrowser/misc/quitter.py index a849aec70..d502efa65 100644 --- a/qutebrowser/misc/quitter.py +++ b/qutebrowser/misc/quitter.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/savemanager.py b/qutebrowser/misc/savemanager.py index ed1b90890..ce9e80f52 100644 --- a/qutebrowser/misc/savemanager.py +++ b/qutebrowser/misc/savemanager.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/sessions.py b/qutebrowser/misc/sessions.py index b96764d81..360856876 100644 --- a/qutebrowser/misc/sessions.py +++ b/qutebrowser/misc/sessions.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/split.py b/qutebrowser/misc/split.py index c7d93e76d..0aac9005c 100644 --- a/qutebrowser/misc/split.py +++ b/qutebrowser/misc/split.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/sql.py b/qutebrowser/misc/sql.py index 28a97fd77..4892b342b 100644 --- a/qutebrowser/misc/sql.py +++ b/qutebrowser/misc/sql.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2016-2021 Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/throttle.py b/qutebrowser/misc/throttle.py index 5e4dd13b2..590af0882 100644 --- a/qutebrowser/misc/throttle.py +++ b/qutebrowser/misc/throttle.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2018-2021 Jay Kamat <jaygkamat@gmail.com> # # This file is part of qutebrowser. diff --git a/qutebrowser/misc/utilcmds.py b/qutebrowser/misc/utilcmds.py index d94b32c26..0a38cc6bf 100644 --- a/qutebrowser/misc/utilcmds.py +++ b/qutebrowser/misc/utilcmds.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. |