     (setq web-mode-css-indent-offset 2)
     (setq web-mode-code-indent-offset 2)
     (setq web-mode-indent-style 4)
-    (global-set-key (kbd "C-c C-c") 'web-mode-fold-or-unfold)
-    )
+    (global-set-key (kbd "C-c C-c") 'web-mode-fold-or-unfold))
   (defun org-cd ()
-    (cd "~/.emacs.d/org-files") ; changes the working directory
-    )
+    "Changes the working directory"
+    (cd "~/.emacs.d/org-files"))
   (defun my-org-archive-done-tasks ()
+    "Move all done tasks in the current buffer to archive file"
     (interactive)
     (org-map-entries 'org-archive-subtree "/DONE" 'file))
   (defun evilAndJdee ()
     (evil-ex-define-cmd "jc[ompile]" 'jdee-compile)
-    (evil-ex-define-cmd "jr[un]" 'jdee-run)
-    )
+    (evil-ex-define-cmd "jr[un]" 'jdee-run))
   (defun magit-keys()
+    "Change emacs evil mode n and p to j and k repectively"
     (define-key evil-emacs-state-map (kbd "j") 'next-line)
-    (define-key evil-emacs-state-map (kbd "k") 'previous-line)
-    )
+    (define-key evil-emacs-state-map (kbd "k") 'previous-line))
+  (defun kill-word-then-insert-mode (arg)
+    "Kill ARG words at point, then exit `modalka-mode'."
+    (interactive "p")
+    (kill-word arg)
+    (modalka-mode -1))
+  (defun kill-line-then-insert-mode (arg)
+    "Kill line, then exit `modalka-mode'."
+    (interactive "p")
+    (kill-line arg)
+    (modalka-mode -1))
 
   ;;Put backup files neatly away-- SAVED Me many times
   (let ((backup-dir "~/Desktop/code/emacs/backups")

;;; Author:Justin Kaipada
;;; Date:01110100 01101111 01101101 01101101 01101111 01110010 01101111 01110111
;;; Commentary:

;;; "Thou shalt not cross 80 columns in thy file"

;;; Code:
(let ((file-name-handler-alist nil))

  (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
  (add-hook 'web-mode-hook  'my-web-mode-hook)
  (add-hook 'web-mode-hook  'rainbow-delimiters-mode)
  (add-hook 'web-mode-hook  'emmet-mode)
  (add-hook 'magit-status-mode-hook 'magit-keys)
  (add-hook 'magit-log-mode-hook 'magit-keys)
  (add-hook 'magit-diff-mode-hook 'magit-keys)
  (add-hook 'magit-staged-section-mode-hook 'magit-keys)
  (add-hook 'prog-mode-hook 'modalka-mode)
  (add-hook 'text-mode-hook 'modalka-mode)
  ;;-------------------------------HOOKS--------------

  ;;-------------------------------KeY-Maps--------------
