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/commands | |
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/commands')
-rw-r--r-- | qutebrowser/commands/__init__.py | 2 | ||||
-rw-r--r-- | qutebrowser/commands/argparser.py | 2 | ||||
-rw-r--r-- | qutebrowser/commands/cmdexc.py | 2 | ||||
-rw-r--r-- | qutebrowser/commands/command.py | 2 | ||||
-rw-r--r-- | qutebrowser/commands/parser.py | 2 | ||||
-rw-r--r-- | qutebrowser/commands/runners.py | 2 | ||||
-rw-r--r-- | qutebrowser/commands/userscripts.py | 2 |
7 files changed, 0 insertions, 14 deletions
diff --git a/qutebrowser/commands/__init__.py b/qutebrowser/commands/__init__.py index 2d196ab49..f1ff911e2 100644 --- a/qutebrowser/commands/__init__.py +++ b/qutebrowser/commands/__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/commands/argparser.py b/qutebrowser/commands/argparser.py index febfa7812..95a90b801 100644 --- a/qutebrowser/commands/argparser.py +++ b/qutebrowser/commands/argparser.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/commands/cmdexc.py b/qutebrowser/commands/cmdexc.py index 50488f1e5..b1b7b9a4f 100644 --- a/qutebrowser/commands/cmdexc.py +++ b/qutebrowser/commands/cmdexc.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/commands/command.py b/qutebrowser/commands/command.py index cfae87958..655a5a336 100644 --- a/qutebrowser/commands/command.py +++ b/qutebrowser/commands/command.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/commands/parser.py b/qutebrowser/commands/parser.py index 5ef46f5e5..8fb107d01 100644 --- a/qutebrowser/commands/parser.py +++ b/qutebrowser/commands/parser.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2021 Ryan Roden-Corrent (rcorre) <ryan@rcorre.net> # # This file is part of qutebrowser. diff --git a/qutebrowser/commands/runners.py b/qutebrowser/commands/runners.py index 7cf6ab6fa..c9d1db7d0 100644 --- a/qutebrowser/commands/runners.py +++ b/qutebrowser/commands/runners.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/commands/userscripts.py b/qutebrowser/commands/userscripts.py index 17164a23a..d41f2a876 100644 --- a/qutebrowser/commands/userscripts.py +++ b/qutebrowser/commands/userscripts.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. |